>
> > This flaw in Linux-SCSI requires driver to be able to handle any transfer
> > direction required by a device for a command. Usually, the direction is
> > enforced only for common opcodes as READ*/WRITE* and friends. For non
> > usual commands the driver/controller pair must wait the first data phase
> > asked by the device to know about the transfer direction.
>
> Many drivers cant wait for the phase to decide. They have to use tables or
> be told
Yes, exactly the reason I suggested the putting help about direction be put
in the Scsi_Cmnd structure. I went through my SCSI-II spec. looking
for opcodes that transfer direction was not easily identifiable and
it does look like vendor-specific commands are the exception.
Perhaps, the transfer direction "hint" placed in Scsi_Cmnd could provide
a suggested transfer direction such as, data out, data in, bidirectional,
or "vendor-specific/direction not known".
--
Mark Veteikis [EMAIL PROTECTED] 1-214-654-5257
Interphase Corp. 13800 Senlac Dallas Tx. 75234
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]