Re: [PATCH] MODE SENSE in sd.c; sddr09.c

Andries Brouwer
2002-09-02T12:38:09Z

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