diff options
author | Hiral Patel <hiral.patel@qlogic.com> | 2014-04-12 00:54:22 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 15:31:01 +0400 |
commit | cf3af76b18d8aecfe0fac678ac0fe2eb2d22a135 (patch) | |
tree | d5d24e351569e80eb77e877f90546f7b58d63054 | |
parent | 61f098dde16c6b535124d3acc8851bacd3d7e0d4 (diff) | |
download | linux-cf3af76b18d8aecfe0fac678ac0fe2eb2d22a135.tar.xz |
qla2xxx: Enable fw_dump_size for ISP8044.
Signed-off-by: Hiral Patel <hiral.patel@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 07befcf365b8..bc0cee3b7d05 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -1495,7 +1495,7 @@ qla2x00_fw_dump_size_show(struct device *dev, struct device_attribute *attr, if (!ha->fw_dumped) size = 0; - else if (IS_QLA82XX(ha)) + else if (IS_P3P_TYPE(ha)) size = ha->md_template_size + ha->md_dump_size; else size = ha->fw_dump_len; |