diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-17 15:05:05 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-21 11:52:46 -0400 |
commit | a9e0edb687151617fe89cc5ab0086ebfc73ffccb (patch) | |
tree | caac2147c99dee9650da01384c2605b21f2ec5bb /drivers/scsi/scsi_priv.h | |
parent | 9872b81cf9f4b163e9c558d79e76b832c58a4814 (diff) |
scsi_transport_spi: Blacklist Ultrium-3 tape for IU transfers
There have been several bug reports which identified the Ultrium-3
tape as just hanging up on the bus during certain types of IU
transfer. The identified culpret is type 0x02 (MULTIPLE COMMAND)
transfers. The only way to prevent this tape wedging is to prevent it
from using IU transfers at all. So this patch uses the exported
blacklist matching technology to recognise the drive and force it not
to use IU transfers.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index b4e49cd6e75d..00264aab8c8a 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h | |||
@@ -43,6 +43,7 @@ static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) | |||
43 | /* list of keys for the lists */ | 43 | /* list of keys for the lists */ |
44 | enum { | 44 | enum { |
45 | SCSI_DEVINFO_GLOBAL = 0, | 45 | SCSI_DEVINFO_GLOBAL = 0, |
46 | SCSI_DEVINFO_SPI, | ||
46 | }; | 47 | }; |
47 | 48 | ||
48 | extern int scsi_get_device_flags(struct scsi_device *sdev, | 49 | extern int scsi_get_device_flags(struct scsi_device *sdev, |