diff options
author | Lalit Chandivade <lalit.chandivade@qlogic.com> | 2009-10-13 18:16:47 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:00:11 -0500 |
commit | 29c5397fc1d28f9b75057644ce8e546671d2a9a9 (patch) | |
tree | a3ffabbbd6183a362778b839484731c9e32b9247 /drivers/scsi/qla2xxx | |
parent | bdab23da71c36904693d276c8b28308dc94642aa (diff) |
[SCSI] qla2xxx: Reread firmware versions information after an ISP abort.
In some case, the MPI and PHY versions when retrieved after the
Execute-FW mailbox-command are incorrect (255.255.255.255).
Instead, query the information after the check for firmware ready
is done in the abort ISP path.
Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 9e3eaac25596..c2494ca6ba1c 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -3573,6 +3573,15 @@ qla2x00_abort_isp(scsi_qla_host_t *vha) | |||
3573 | ha->isp_abort_cnt = 0; | 3573 | ha->isp_abort_cnt = 0; |
3574 | clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags); | 3574 | clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags); |
3575 | 3575 | ||
3576 | if (IS_QLA81XX(ha)) | ||
3577 | qla2x00_get_fw_version(vha, | ||
3578 | &ha->fw_major_version, | ||
3579 | &ha->fw_minor_version, | ||
3580 | &ha->fw_subminor_version, | ||
3581 | &ha->fw_attributes, &ha->fw_memory_size, | ||
3582 | ha->mpi_version, &ha->mpi_capabilities, | ||
3583 | ha->phy_version); | ||
3584 | |||
3576 | if (ha->fce) { | 3585 | if (ha->fce) { |
3577 | ha->flags.fce_enabled = 1; | 3586 | ha->flags.fce_enabled = 1; |
3578 | memset(ha->fce, 0, | 3587 | memset(ha->fce, 0, |