Commit f166476c authored by Patrick Mansfield's avatar Patrick Mansfield Committed by James Bottomley

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

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:
parent 812ebe14
...@@ -1939,6 +1939,7 @@ static void scsi_scan_target(Scsi_Device *sdevscan, struct Scsi_Host *shost, ...@@ -1939,6 +1939,7 @@ static void scsi_scan_target(Scsi_Device *sdevscan, struct Scsi_Host *shost,
sdevscan->host = shost; sdevscan->host = shost;
sdevscan->id = id; sdevscan->id = id;
sdevscan->channel = channel;
/* /*
* Scan LUN 0, if there is some response, scan further. Ideally, we * Scan LUN 0, if there is some response, scan further. Ideally, we
* would not configure LUN 0 until all LUNs are scanned. * would not configure LUN 0 until all LUNs are scanned.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment