summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2009-03-24 09:08:12 -0700
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 09:22:51 -0500
commitad0ecd61f4ad3260ca8f7216765ddbb1a10677ea (patch)
tree4a228bd11305a1c07647b948e571542ac9b9389c /drivers/scsi/qla2xxx/qla_os.c
parentfbcbb5d0cf69ba8b59028ec3c5b9f9ff04409b88 (diff)
downloadop-kernel-dev-ad0ecd61f4ad3260ca8f7216765ddbb1a10677ea.zip
op-kernel-dev-ad0ecd61f4ad3260ca8f7216765ddbb1a10677ea.tar.gz
[SCSI] qla2xxx: Add EDC-update support.
Interface allows for the update of onboard EDC firmware present on mezzanine ISP25xx type cards. 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_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index ba3309f..9bb4b2e 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2337,6 +2337,9 @@ qla2x00_mem_free(struct qla_hw_data *ha)
if (ha->sfp_data)
dma_pool_free(ha->s_dma_pool, ha->sfp_data, ha->sfp_data_dma);
+ if (ha->edc_data)
+ dma_pool_free(ha->s_dma_pool, ha->edc_data, ha->edc_data_dma);
+
if (ha->ms_iocb)
dma_pool_free(ha->s_dma_pool, ha->ms_iocb, ha->ms_iocb_dma);
OpenPOWER on IntegriCloud