diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2012-02-09 20:15:53 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 15:24:40 +0100 |
commit | f55bfc88f74830fa6ea334687732a69fe7caf81f (patch) | |
tree | 813c44ad55a450eb6db8d677084660288b9f4da9 /drivers/scsi/qla2xxx | |
parent | [SCSI] qla2xxx: Change the log message when previous dump is available to ret... (diff) | |
download | linux-f55bfc88f74830fa6ea334687732a69fe7caf81f.tar.xz linux-f55bfc88f74830fa6ea334687732a69fe7caf81f.zip |
[SCSI] qla2xxx: Perform firmware dump procedure on mailbox command timeout.
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/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 957a4b88e482..adc2b14b03f5 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -277,6 +277,12 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) "mb[0] = 0x%x.\n", mb0); ql_dump_regs(ql_dbg_mbx + ql_dbg_buffer, vha, 0x1019); + /* + * Attempt to capture a firmware dump for further analysis + * of the current firmware state + */ + ha->isp_ops->fw_dump(vha, 0); + rval = QLA_FUNCTION_TIMEOUT; } |