Message-Id: <1190933517.5392.27.camel@localhost.localdomain>
Subject: [SCSI] scsi_transport_spi: fix domain validation failure from incorrect width setting
+From: James Bottomley <James.Bottomley@SteelEye.com>
+
+commit 2302827c95fe0f441025acd5133e532d2eef322b from upstream
+
Domain Validation in the SPI transport class is failing on boxes with
damaged cables (and failing to the extent that the box hangs). The
problem is that the first test it does is a cable integrity test for
Validation.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
----
-This one's a long standing bug which can cause a machine hang on certain
-boxes with cabling problems, it just went upstream as commit
-
-2302827c95fe0f441025acd5133e532d2eef322b
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+---
drivers/scsi/scsi_transport_spi.c | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
---- linux-2.6.22.9.orig/drivers/scsi/scsi_transport_spi.c
-+++ linux-2.6.22.9/drivers/scsi/scsi_transport_spi.c
+--- a/drivers/scsi/scsi_transport_spi.c
++++ b/drivers/scsi/scsi_transport_spi.c
@@ -787,10 +787,12 @@ spi_dv_device_internal(struct scsi_devic
struct scsi_target *starget = sdev->sdev_target;
struct Scsi_Host *shost = sdev->host;