diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index dadc91bd0ea9..7d973bd9022b 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -1258,7 +1258,7 @@ qla2x00_configure_hba(scsi_qla_host_t *ha) | |||
1258 | rval = qla2x00_get_adapter_id(ha, | 1258 | rval = qla2x00_get_adapter_id(ha, |
1259 | &loop_id, &al_pa, &area, &domain, &topo); | 1259 | &loop_id, &al_pa, &area, &domain, &topo); |
1260 | if (rval != QLA_SUCCESS) { | 1260 | if (rval != QLA_SUCCESS) { |
1261 | if (LOOP_NOT_READY(ha) || atomic_read(&ha->loop_down_timer) || | 1261 | if (LOOP_TRANSITION(ha) || atomic_read(&ha->loop_down_timer) || |
1262 | (rval == QLA_COMMAND_ERROR && loop_id == 0x7)) { | 1262 | (rval == QLA_COMMAND_ERROR && loop_id == 0x7)) { |
1263 | DEBUG2(printk("%s(%ld) Loop is in a transition state\n", | 1263 | DEBUG2(printk("%s(%ld) Loop is in a transition state\n", |
1264 | __func__, ha->host_no)); | 1264 | __func__, ha->host_no)); |
@@ -1795,7 +1795,7 @@ qla2x00_configure_loop(scsi_qla_host_t *ha) | |||
1795 | } | 1795 | } |
1796 | 1796 | ||
1797 | if (rval == QLA_SUCCESS && test_bit(RSCN_UPDATE, &flags)) { | 1797 | if (rval == QLA_SUCCESS && test_bit(RSCN_UPDATE, &flags)) { |
1798 | if (LOOP_NOT_READY(ha)) { | 1798 | if (LOOP_TRANSITION(ha)) { |
1799 | rval = QLA_FUNCTION_FAILED; | 1799 | rval = QLA_FUNCTION_FAILED; |
1800 | } else { | 1800 | } else { |
1801 | rval = qla2x00_configure_fabric(ha); | 1801 | rval = qla2x00_configure_fabric(ha); |
@@ -2368,7 +2368,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *ha, struct list_head *new_fcports) | |||
2368 | if (qla2x00_is_reserved_id(ha, loop_id)) | 2368 | if (qla2x00_is_reserved_id(ha, loop_id)) |
2369 | continue; | 2369 | continue; |
2370 | 2370 | ||
2371 | if (atomic_read(&ha->loop_down_timer) || LOOP_NOT_READY(ha)) | 2371 | if (atomic_read(&ha->loop_down_timer) || LOOP_TRANSITION(ha)) |
2372 | break; | 2372 | break; |
2373 | 2373 | ||
2374 | if (swl != NULL) { | 2374 | if (swl != NULL) { |