Re: [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver

Patrick Mansfield
2005-11-07T18:14:53Z

On Sat, Nov 05, 2005 at 03:55:22PM -0800, Matthew Dharm wrote:

> I just realized this plan has a problem...
>
> The reported SCSI level of a device is mostly garbage, but not always.
> I've seen 0, 1, 2, 3, and 0xff all reported. HOWEVER, the reported value
> seems independent of what devices have vendor-specific commands (and thus
> need the CDB[1] not messed with).

But it is only a problem for devices that require us to set values in
cdb[1] that conflict with the scsi spec, not for all devices that have
vendor specific commands.

Do the devices in question that don't want the LUN in cdb[1] report as
scsi-3 or later? If so we can still pass through the scsi level and it
would work fine. Yeh, if we later hit scsi-2 devices that want it we
have a problem.

-- Patrick Mansfield