scsi_transport_spi: Blacklist Ultrium-3 tape for IU transfers
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 17 Jun 2009 19:05:05 +0000 (19:05 +0000)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 15:52:46 +0000 (10:52 -0500)
commita9e0edb687151617fe89cc5ab0086ebfc73ffccb
treecaac2147c99dee9650da01384c2605b21f2ec5bb
parent9872b81cf9f4b163e9c558d79e76b832c58a4814
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>
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_transport_spi.c