Re: [PATCH] 2.5.30 scsi_scan.c cleanup/rewrite

Patrick Mansfield (patmans@us.ibm.com)
Thu, 8 Aug 2002 22:30:27 -0700


On Thu, Aug 08, 2002 at 02:06:16PM -0700, Patrick Mansfield wrote:
> Hi -
>
> Attached is cleanup/rewrite patch for scsi_scan.c against 2.5.30.
>

There's a bug for adapters with multiple channels (like the ServeRAID
with ips driver) not being properly scanned - it scans channel 0 again
rather than going to the next channel - patch on top of the original
patch:

--- 1.23/drivers/scsi/scsi_scan.c Thu Aug 8 09:48:01 2002
+++ edited/drivers/scsi/scsi_scan.c Thu Aug 8 16:19:31 2002
@@ -1939,6 +1939,7 @@

sdevscan->host = shost;
sdevscan->id = id;
+ sdevscan->channel = channel;
/*
* Scan LUN 0, if there is some response, scan further. Ideally, we
* would not configure LUN 0 until all LUNs are scanned.

Complete patch against 2.5.30 is now at:

http://www-124.ibm.com/storageio/gen-io/patch-scsi_scan-2.5.30-2.gz

The modified scsi_scan.c file:

http://www-124.ibm.com/storageio/gen-io/scsi_scan.c-2.5.30-2.gz

Thanks.

-- Patrick Mansfield
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/