summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx/ql4_83xx.c
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2013-01-20 23:51:02 -0500
committerJames Bottomley <JBottomley@Parallels.com>2013-01-30 13:53:19 +1100
commit9661975f1717876577c62796707a2b7e34facb3f (patch)
treefbe1b197eff91fe970774b37724e4216c1c776cc /drivers/scsi/qla4xxx/ql4_83xx.c
parent137257da9e52c6aec9ba67aae0a2bbae235dfa3a (diff)
downloadlinux-9661975f1717876577c62796707a2b7e34facb3f.tar.gz
[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>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_83xx.c')
-rw-r--r--drivers/scsi/qla4xxx/ql4_83xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_83xx.c b/drivers/scsi/qla4xxx/ql4_83xx.c
index 417738366c1f..5d8fe4f75650 100644
--- a/drivers/scsi/qla4xxx/ql4_83xx.c
+++ b/drivers/scsi/qla4xxx/ql4_83xx.c
@@ -538,7 +538,7 @@ struct device_info {
int port_num;
};
-static int qla4_83xx_can_perform_reset(struct scsi_qla_host *ha)
+int qla4_83xx_can_perform_reset(struct scsi_qla_host *ha)
{
uint32_t drv_active;
uint32_t dev_part, dev_part1, dev_part2;