diff options
author | Shyam Sunder <shyam.sunder@qlogic.com> | 2011-12-02 07:42:13 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-12-15 07:57:42 +0100 |
commit | 9ee91a38b1e224b0ee4ddc9a69d41f732d776310 (patch) | |
tree | 2a86b0ddd75c76090a7a448794cc0a7ac9e5f194 /drivers/scsi/qla4xxx/ql4_def.h | |
parent | [SCSI] qla4xxx: Fix qla4xxx_dump_buffer to dump buffer correctly (diff) | |
download | linux-9ee91a38b1e224b0ee4ddc9a69d41f732d776310.tar.xz linux-9ee91a38b1e224b0ee4ddc9a69d41f732d776310.zip |
[SCSI] qla4xxx: check for FW alive before calling chip_reset
Check for firmware alive and do premature completion of
mbox commands in case of FW hung before doing chip_reset
Signed-off-by: Shyam Sunder <shyam.sunder@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_def.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index fd5edc6e166d..22a3ff02e48a 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h +++ b/drivers/scsi/qla4xxx/ql4_def.h @@ -177,6 +177,7 @@ #define LOGIN_TOV 12 #define MAX_RESET_HA_RETRIES 2 +#define FW_ALIVE_WAIT_TOV 3 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) |