Skip to content

Commit

Permalink
[SCSI] qla2xxx: Perform firmware dump procedure on mailbox command ti…
Browse files Browse the repository at this point in the history
…meout.

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>
  • Loading branch information
Chad Dupuis authored and James Bottomley committed Feb 19, 2012
1 parent a8faa26 commit f55bfc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/scsi/qla2xxx/qla_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f55bfc8

Please sign in to comment.