Re: [PATCH] Driver for Toshiba DVD-RAM (SCSI) (kernel 2.2.11)

Gerard Roudier (groudier@club-internet.fr)
Sat, 28 Aug 1999 21:45:58 +0200 (MET DST)


On Sat, 28 Aug 1999, Alan Cox wrote:

> > > + * Modified by Reed Meyer <rdm@astro.yale.edu> to support the Toshiba
> > > + * SD-W1101 DVD-RAM (which doesn't like 6-byte commands). Changed the
> > > + * default I/O to 10-byte commands, with the minor side-effect that
> > > + * the driver doesn't use the slightly-faster(?) 6-byte commands
> >
> > The READ6 and WRITE6 commands are deprecated. The READ6 is still specified
> > as mandatory for block devices for compatibility with old initialisation
> > code. WRITE6 is specified as optionnal for block devices.
>
> If this is using IDE-SCSI then ATAPI only seems to support 10 byte

I don't have the ATAPI spec, but since there was no compatibility issue,
I will not be surprised if ATAPI specs got rid of READ6/WRITE6 commands.

> command format. You fix that in ide-scsi.c if so not by butchering the scsi
> layer. I had to add M/O disks to ide-scsi.c for this case as an example.

The group 1 READ10/WRITE10 commands were in the X3T9 draft (1985) for
direct access device. So, the removal of explicits READ6/WRITE6 from the
sr and sd drivers will be just fine surgery.

Obviously, the st driver still has to use READ6/WRITE6 commands.

Linux may well be the only O/S that still uses explicitely READ6/WRITE6
commands for direct access devices, in my opinion.

Gérard.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/