aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2006-05-17 18:09:56 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-05-20 10:50:29 -0400
commit21333b481159a78b5379b8ddb400efafd5857d55 (patch)
tree5d92f1f7b363f62f9b469fb1ba0764d3c72f13ea
parentd4e3e04d789ba23027c66e176b10ac7477906948 (diff)
[SCSI] qla2xxx: Correct issue where driver improperly issued SNS commands in N2N topologies.
Semantic changes in ISP24xx firmware behaviour inadvertently caused the driver to believe an F-port topology was present in an N_port-to-N_port configuration. 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 011e8795545a..aef093db597e 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1778,6 +1778,9 @@ qla2x00_configure_loop(scsi_qla_host_t *ha)
1778 set_bit(RSCN_UPDATE, &flags); 1778 set_bit(RSCN_UPDATE, &flags);
1779 clear_bit(LOCAL_LOOP_UPDATE, &flags); 1779 clear_bit(LOCAL_LOOP_UPDATE, &flags);
1780 1780
1781 } else if (ha->current_topology == ISP_CFG_N) {
1782 clear_bit(RSCN_UPDATE, &flags);
1783
1781 } else if (!ha->flags.online || 1784 } else if (!ha->flags.online ||
1782 (test_bit(ABORT_ISP_ACTIVE, &flags))) { 1785 (test_bit(ABORT_ISP_ACTIVE, &flags))) {
1783 1786