aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-01-13 20:05:26 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-14 11:55:31 -0500
commitc9d02acf39d9fdde18b63281944003b9ec9a3271 (patch)
treee598fb578cfc92f7a15cedf6f4cd0b242bee311e
parent210d53507e961b0f480d1a86d9a26832cc68645e (diff)
[SCSI] qla2xxx: Correct issue where portstate does not transition during loop-resync.
If the Get Port Database call fails during local-loop update, then schedule the DPC routine to perform a rescan as the firmware would have updated the Get ID List port-entries of their new state. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 7d973bd9022b..e21316a8ecf3 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1939,6 +1939,9 @@ qla2x00_configure_local_loop(scsi_qla_host_t *ha)
1939 "information -- get_port_database=%x, " 1939 "information -- get_port_database=%x, "
1940 "loop_id=0x%04x\n", 1940 "loop_id=0x%04x\n",
1941 ha->host_no, rval2, new_fcport->loop_id)); 1941 ha->host_no, rval2, new_fcport->loop_id));
1942 DEBUG2(printk("scsi(%ld): Scheduling resync...\n",
1943 ha->host_no));
1944 set_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags);
1942 continue; 1945 continue;
1943 } 1946 }
1944 1947