diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-01-05 14:18:08 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-07 16:50:31 -0500 |
commit | bb99de6703526ebed42e29b8dee402df235f28c7 (patch) | |
tree | 069bada1baedaa8b5fb1feef07de9ff8b46774ee /drivers/scsi/qla2xxx/qla_init.c | |
parent | 3fd67cdf9e68b653ed631056bf1660700088c8c8 (diff) |
[SCSI] qla2xxx: Collapse EFT/FCE copy procedures during a firmware dump.
In preparation for new ISP types with varying dump procedures.
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_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 3ec6eaca96d4..6038aedc1239 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -850,7 +850,9 @@ cont_alloc: | |||
850 | 850 | ||
851 | dump_size = offsetof(struct qla2xxx_fw_dump, isp); | 851 | dump_size = offsetof(struct qla2xxx_fw_dump, isp); |
852 | dump_size += fixed_size + mem_size + req_q_size + rsp_q_size + | 852 | dump_size += fixed_size + mem_size + req_q_size + rsp_q_size + |
853 | mq_size + eft_size + fce_size; | 853 | eft_size; |
854 | ha->chain_offset = dump_size; | ||
855 | dump_size += mq_size + fce_size; | ||
854 | 856 | ||
855 | ha->fw_dump = vmalloc(dump_size); | 857 | ha->fw_dump = vmalloc(dump_size); |
856 | if (!ha->fw_dump) { | 858 | if (!ha->fw_dump) { |