diff options
| author | Alan Stern <stern@rowland.harvard.edu> | 2004-06-26 23:08:50 -0500 |
|---|---|---|
| committer | James Bottomley <jejb@raven.il.steeleye.com> | 2004-06-26 23:08:50 -0500 |
| commit | cb6d0f4487814ef0abd90c00df55d866fd6ce3f9 (patch) | |
| tree | 13d8a6d497932446be612b65f93cfb5db0e434ba /include | |
| parent | f4e7ddb6ab0ede1cd2cfe088a67213fa99702f7d (diff) | |
[PATCH] PATCH: (as333) BLIST flag for non-lockable devices
On Wed, 23 Jun 2004, Mike Anderson wrote:
> Since SCSI already has the device list it would seem like we would
> possibly add a new flag like was done for mode sense. As this is not a
> transport issue I would assume we would not want to add flags in
> usb/storage, but handle it in the mid-layer as a SCSI protocol
> non-compliance.
Here is a patch that implements this suggestion. It's rather similar to
the one that Javier Marcet wrote back in January, in
http://marc.theaimsgroup.com/?l=linux-usb-users&m=107345268526718&w=2
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/scsi_devinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_devinfo.h b/include/scsi/scsi_devinfo.h index 21bf53ace663..edf56685b299 100644 --- a/include/scsi/scsi_devinfo.h +++ b/include/scsi/scsi_devinfo.h @@ -24,4 +24,5 @@ #define BLIST_REPORTLUN2 0x20000 /* try REPORT_LUNS even for SCSI-2 devs (if HBA supports more than 8 LUNs) */ #define BLIST_NOREPORTLUN 0x40000 /* don't try REPORT_LUNS scan (SCSI-3 devs) */ +#define BLIST_NOT_LOCKABLE 0x80000 /* don't use PREVENT-ALLOW commands */ #endif |
