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

Matthew Dharm
2005-11-02T23:45:38Z

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

On Wed, Nov 02, 2005 at 02:18:52PM -0800, Timothy Thelin wrote:
>
> If you had time to spare, instead of touching usb-storage,
> it might be better spent resurecting SG_FLAG_LUN_INHIBIT to
> stop the above behavior so that SG_IO cdbs can be passed
> through untouched.
> (SG_FLAG_FUN_INHIBIT was a flag SG_IO used to support a long
> time ago, and I have no idea why it was dropped, but it was)

I didn't realize that had been removed. Anyone that sends a
vendor-specific command to a device needs this flag to make sure it goes
through unmangled.

Perhaps someone on linux-scsi can comment on why this was removed and how
we might get it back?

Matt

--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver

We can customize our colonels.
-- Tux
User Friendly, 12/1/1998

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]