summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2008-07-17 23:53:03 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 19:14:51 (GMT)
commitb6ff1b14cdf4b4cb5403f3af2c3272f7e609a241 (patch)
treed3a8231c0c4f6c647a8546dcea4659c19ea33949 /include
parent4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886 (diff)
downloadlinux-b6ff1b14cdf4b4cb5403f3af2c3272f7e609a241.tar.xz
[SCSI] scsi_dh: Update EMC handler
This patch converts the EMC device handler to use a proper state machine. We now also parse the extended INQUIRY information to determine if long trespass commands are supported. And we're now using the long trespass command correctly. And finally there's now an check at init time to refuse to attach to devices not supporting EMC-specific VPD pages. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/scsi_dh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_dh.h b/include/scsi/scsi_dh.h
index 3ad2303..e15e2aa 100644
--- a/include/scsi/scsi_dh.h
+++ b/include/scsi/scsi_dh.h
@@ -32,6 +32,7 @@ enum {
*/
SCSI_DH_DEV_FAILED, /* generic device error */
SCSI_DH_DEV_TEMP_BUSY,
+ SCSI_DH_DEV_UNSUPP, /* device handler not supported */
SCSI_DH_DEVICE_MAX, /* max device blkerr definition */
/*