diff options
author | Giridhar Malavali <giridhar.malavali@qlogic.com> | 2012-02-09 14:14:12 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-18 09:49:58 -0500 |
commit | 2cc97965e4f6e84792b958d4ad10631274d42834 (patch) | |
tree | 098fb6aeaf7bd1716dc722f1917a2fd4bc728448 /drivers | |
parent | 5a034bb3c33aad59769e7289716c8d1f075b3894 (diff) |
[SCSI] qla2xxx: Proper detection of firmware abort error code for ISP82xx.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_nx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c index bb06c20a822e..270ba3130fde 100644 --- a/drivers/scsi/qla2xxx/qla_nx.c +++ b/drivers/scsi/qla2xxx/qla_nx.c | |||
@@ -3379,7 +3379,7 @@ void qla82xx_watchdog(scsi_qla_host_t *vha) | |||
3379 | QLA82XX_CRB_PEG_NET_3 + 0x3c), | 3379 | QLA82XX_CRB_PEG_NET_3 + 0x3c), |
3380 | qla82xx_rd_32(ha, | 3380 | qla82xx_rd_32(ha, |
3381 | QLA82XX_CRB_PEG_NET_4 + 0x3c)); | 3381 | QLA82XX_CRB_PEG_NET_4 + 0x3c)); |
3382 | if (LSW(MSB(halt_status)) == 0x67) | 3382 | if (((halt_status & 0x1fffff00) >> 8) == 0x67) |
3383 | ql_log(ql_log_warn, vha, 0xb052, | 3383 | ql_log(ql_log_warn, vha, 0xb052, |
3384 | "Firmware aborted with " | 3384 | "Firmware aborted with " |
3385 | "error code 0x00006700. Device is " | 3385 | "error code 0x00006700. Device is " |