[SCSI] scsi_dh: Update EMC handler
authorHannes Reinecke <hare@suse.de>
Thu, 17 Jul 2008 23:53:03 +0000 (16:53 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:51 +0000 (15:14 -0400)
commitb6ff1b14cdf4b4cb5403f3af2c3272f7e609a241
treed3a8231c0c4f6c647a8546dcea4659c19ea33949
parent4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886
[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>
drivers/scsi/device_handler/scsi_dh_emc.c
include/scsi/scsi_dh.h