[SCSI] qla4xxx: Added support for force firmware dump
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Mon, 21 Jan 2013 04:51:02 +0000 (23:51 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 02:53:19 +0000 (13:53 +1100)
commit9661975f1717876577c62796707a2b7e34facb3f
treefbe1b197eff91fe970774b37724e4216c1c776cc
parent137257da9e52c6aec9ba67aae0a2bbae235dfa3a
[SCSI] qla4xxx: Added support for force firmware dump

This patch force driver to collect firmware dump using following command:-
"echo 2 > /sys/class/scsi_host/hostX/device/fw_dump"

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_83xx.c
drivers/scsi/qla4xxx/ql4_attr.c
drivers/scsi/qla4xxx/ql4_glbl.h