From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andries Brouwer Subject: Re: [PATCH] MODE SENSE in sd.c; sddr09.c Date: Mon, 2 Sep 2002 14:38:09 +0200 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20020902123809.GA9286@win.tue.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Id: linux-scsi@vger.kernel.org To: Rob Turk Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org On Mon, Sep 02, 2002 at 01:00:39PM +0200, Rob Turk wrote: > > The patch below first separates out the MODE SENSE call, > > and then tries it three times: on all pages (3F), only the first > > four bytes; on the vendor page (0), only the first four bytes; > > on all pages (3F), 255 bytes. > > Would it be possible to move away from using 'standard' 255 bytes? Many SCSI > device don't like requests for odd byte counts on 16-bit SCSI busses, and > IDE isn't too crazy about it either. How about asking for 254 instead?? Well, as you can see I did move away from the 255. I ask for 4 bytes. Only if that fails do I fall back on what we do today. Andries