diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-06-03 12:55:29 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-08 15:46:58 -0400 |
commit | 656e89122a737b60cebc7b8fcb669faf0e7bc905 (patch) | |
tree | c0aa6e674b51a1484d194fe7d4f60173b9c736af /drivers/scsi/qla2xxx/qla_init.c | |
parent | f999f4c1961fe5399fd66c95860cc2d5d67e591e (diff) |
[SCSI] qla2xxx: Export additional firmware-states for application support.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 46bd08525964..36cea2224b3c 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -1304,7 +1304,7 @@ qla2x00_fw_ready(scsi_qla_host_t *vha) | |||
1304 | unsigned long wtime, mtime, cs84xx_time; | 1304 | unsigned long wtime, mtime, cs84xx_time; |
1305 | uint16_t min_wait; /* Minimum wait time if loop is down */ | 1305 | uint16_t min_wait; /* Minimum wait time if loop is down */ |
1306 | uint16_t wait_time; /* Wait time if loop is coming ready */ | 1306 | uint16_t wait_time; /* Wait time if loop is coming ready */ |
1307 | uint16_t state[3]; | 1307 | uint16_t state[5]; |
1308 | struct qla_hw_data *ha = vha->hw; | 1308 | struct qla_hw_data *ha = vha->hw; |
1309 | 1309 | ||
1310 | rval = QLA_SUCCESS; | 1310 | rval = QLA_SUCCESS; |
@@ -1403,8 +1403,9 @@ qla2x00_fw_ready(scsi_qla_host_t *vha) | |||
1403 | vha->host_no, state[0], jiffies)); | 1403 | vha->host_no, state[0], jiffies)); |
1404 | } while (1); | 1404 | } while (1); |
1405 | 1405 | ||
1406 | DEBUG(printk("scsi(%ld): fw_state=%x curr time=%lx.\n", | 1406 | DEBUG(printk("scsi(%ld): fw_state=%x (%x, %x, %x, %x) curr time=%lx.\n", |
1407 | vha->host_no, state[0], jiffies)); | 1407 | vha->host_no, state[0], state[1], state[2], state[3], state[4], |
1408 | jiffies)); | ||
1408 | 1409 | ||
1409 | if (rval) { | 1410 | if (rval) { |
1410 | DEBUG2_3(printk("scsi(%ld): Firmware ready **** FAILED ****.\n", | 1411 | DEBUG2_3(printk("scsi(%ld): Firmware ready **** FAILED ****.\n", |