aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2014-09-25 05:16:48 -0400
committerChristoph Hellwig <hch@lst.de>2014-09-25 08:25:03 -0400
commitb5a340dd858b5bdd2813756e14991dc64c0b16d9 (patch)
tree45c18643b6c750b07baa85fad92bdf3dff44f3d0 /drivers/scsi/qla2xxx/qla_init.c
parent7c9c4766896335d2f20928ccc5d8ad2d1e621b9a (diff)
qla2xxx: Add diagnostic port functionality.
Add support for the D-port (diagnostic port) fabric switch feature. (Fabric Switch initiates loopback style port testing) Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 748bd9093680..d5b10ecde4a0 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2224,7 +2224,7 @@ qla2x00_fw_ready(scsi_qla_host_t *vha)
2224 unsigned long wtime, mtime, cs84xx_time; 2224 unsigned long wtime, mtime, cs84xx_time;
2225 uint16_t min_wait; /* Minimum wait time if loop is down */ 2225 uint16_t min_wait; /* Minimum wait time if loop is down */
2226 uint16_t wait_time; /* Wait time if loop is coming ready */ 2226 uint16_t wait_time; /* Wait time if loop is coming ready */
2227 uint16_t state[5]; 2227 uint16_t state[6];
2228 struct qla_hw_data *ha = vha->hw; 2228 struct qla_hw_data *ha = vha->hw;
2229 2229
2230 if (IS_QLAFX00(vha->hw)) 2230 if (IS_QLAFX00(vha->hw))
@@ -2329,8 +2329,8 @@ qla2x00_fw_ready(scsi_qla_host_t *vha)
2329 } while (1); 2329 } while (1);
2330 2330
2331 ql_dbg(ql_dbg_taskm, vha, 0x803a, 2331 ql_dbg(ql_dbg_taskm, vha, 0x803a,
2332 "fw_state=%x (%x, %x, %x, %x) " "curr time=%lx.\n", state[0], 2332 "fw_state=%x (%x, %x, %x, %x %x) curr time=%lx.\n", state[0],
2333 state[1], state[2], state[3], state[4], jiffies); 2333 state[1], state[2], state[3], state[4], state[5], jiffies);
2334 2334
2335 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { 2335 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) {
2336 ql_log(ql_log_warn, vha, 0x803b, 2336 ql_log(ql_log_warn, vha, 0x803b,