I saw the NEW_TRANS code and that seems definitely the way to code. A
lot of work though.

> There are other commands that can get sent, though -- inquiry, test unit
> ready, and start/stop unit are all 6 byte commands, and there are no 10
> byte SCSI equivalents.  So how do you handle those now?

The problem is only there for commands that have a 10 byte equivalent.
The ATAPI spec seems to have dropped the 6 byte ones. So inquiry is not
a problem. The end of the command is padded with zeroes.

> > And then the third one would be to have a look at for example scsi_cd.c
> > and friends and make similar changes there.
>
> The CD driver already uses 10 byte read and write commands, since the 6
> byte read/write commands are not required for CD type devices.  It does use
> a 6 byte mode sense/mode select, but since it rolls its own (can't remember
> why at the moment), that can be easily modified to look at the transport
> type and optionally use a 10 byte command.

Ok.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to