]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla4xxx: check for FW alive before calling chip_reset
authorShyam Sunder <shyam.sunder@qlogic.com>
Fri, 2 Dec 2011 06:42:13 +0000 (22:42 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 15 Dec 2011 06:57:42 +0000 (10:57 +0400)
commit9ee91a38b1e224b0ee4ddc9a69d41f732d776310
tree2a86b0ddd75c76090a7a448794cc0a7ac9e5f194
parent0a24361566d750065849f63521097f8373a0ac6b
[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>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_os.c