diff options
author | Seokmann Ju <seokmann.ju@qlogic.com> | 2008-04-03 16:13:29 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:16 -0400 |
commit | 463717edc9d675ead14b02f060425ff7860d1dc1 (patch) | |
tree | 5e3a56d264b7b5b3f61133ffca5e935feb79f1c7 /drivers/scsi/qla2xxx | |
parent | d4486fd6deb3354aa39cfedfcfd114cfe9ff9238 (diff) |
[SCSI] qla2xxx: Check DFLG_NO_CABLE only on physical port.
As there is no actual cable connection on vports, made change so
that the driver checks DFLG_NO_CABLE against ha->device_flags
only for physical port.
Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 4c50b9b53d23..8b33b163b1d4 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2577,7 +2577,8 @@ qla2x00_timer(scsi_qla_host_t *ha) | |||
2577 | set_bit(RESTART_QUEUES_NEEDED, &ha->dpc_flags); | 2577 | set_bit(RESTART_QUEUES_NEEDED, &ha->dpc_flags); |
2578 | start_dpc++; | 2578 | start_dpc++; |
2579 | 2579 | ||
2580 | if (!(ha->device_flags & DFLG_NO_CABLE)) { | 2580 | if (!(ha->device_flags & DFLG_NO_CABLE) && |
2581 | !ha->parent) { | ||
2581 | DEBUG(printk("scsi(%ld): Loop down - " | 2582 | DEBUG(printk("scsi(%ld): Loop down - " |
2582 | "aborting ISP.\n", | 2583 | "aborting ISP.\n", |
2583 | ha->host_no)); | 2584 | ha->host_no)); |