summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_dh.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2008-07-18 01:53:03 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 21:14:51 +0200
commitb6ff1b14cdf4b4cb5403f3af2c3272f7e609a241 (patch)
treed3a8231c0c4f6c647a8546dcea4659c19ea33949 /include/scsi/scsi_dh.h
parent[SCSI] scsi_dh: Add 'dh_state' sysfs attribute (diff)
downloadlinux-b6ff1b14cdf4b4cb5403f3af2c3272f7e609a241.tar.xz
linux-b6ff1b14cdf4b4cb5403f3af2c3272f7e609a241.zip
[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/scsi/scsi_dh.h')
-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 3ad2303d1a16..e15e2aade69c 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 */
/*