diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2008-05-12 22:21:13 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-15 16:39:29 +0100 |
commit | 68af081151670af4ca405823f9dfb74ec6b20e66 (patch) | |
tree | 4298579feccd1c7e94bdf1b436dc58c0bbecd3f0 /drivers/scsi/qla2xxx/qla_attr.c | |
parent | fa0926df0f5cf63b998a79127519bdcfe9bf05f7 (diff) | |
download | lwn-68af081151670af4ca405823f9dfb74ec6b20e66.tar.gz lwn-68af081151670af4ca405823f9dfb74ec6b20e66.zip |
[SCSI] qla2xxx: Extend the 'fw_dump' SYSFS node the ability to initiate a firmware dump.
The user-initiated dump can be a useful tool in triaging complex
ISP and FC issues.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 48318d0f088f..8dd88fc1244a 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -70,6 +70,9 @@ qla2x00_sysfs_write_fw_dump(struct kobject *kobj, case 2: qla2x00_alloc_fw_dump(ha); break; + case 3: + qla2x00_system_error(ha); + break; } return (count); } |