From: Greg Kroah-Hartman Date: Mon, 8 Oct 2007 17:11:46 +0000 (-0700) Subject: updated patch X-Git-Tag: v2.6.22.10~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a07329d7b1a03cde570763e969bf5c5844aa401;p=thirdparty%2Fkernel%2Fstable-queue.git updated patch --- diff --git a/queue-2.6.22/scsi_transport_spi-fix-domain-validation-failure-from-incorrect-width-setting.patch b/queue-2.6.22/scsi_transport_spi-fix-domain-validation-failure-from-incorrect-width-setting.patch index 8eb8bcaf0b5..a17538c9566 100644 --- a/queue-2.6.22/scsi_transport_spi-fix-domain-validation-failure-from-incorrect-width-setting.patch +++ b/queue-2.6.22/scsi_transport_spi-fix-domain-validation-failure-from-incorrect-width-setting.patch @@ -5,6 +5,10 @@ Date: Thu, 27 Sep 2007 18:51:57 -0400 Message-Id: <1190933517.5392.27.camel@localhost.localdomain> Subject: [SCSI] scsi_transport_spi: fix domain validation failure from incorrect width setting +From: James Bottomley + +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 @@ -18,17 +22,14 @@ setting to what it deduces it should be for the whole of Domain Validation. Signed-off-by: James Bottomley ---- -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 +--- 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;