summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2009-06-03 09:55:13 -0700
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-08 14:46:34 -0500
commitce0423f4a23317d0166addd7d6fcc4a0fa95e751 (patch)
treeae4124a1fecdefd5f19a1218c7b6684cff05a58a /drivers/scsi/qla2xxx/qla_os.c
parent7f774025171f626fc1a6a97781967c84a869d277 (diff)
downloadtalos-obmc-linux-ce0423f4a23317d0166addd7d6fcc4a0fa95e751.tar.gz
talos-obmc-linux-ce0423f4a23317d0166addd7d6fcc4a0fa95e751.zip
[SCSI] qla2xxx: Export XGMAC statistics on supported ISPs.
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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index f4f535536952..642e976083e8 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2434,6 +2434,10 @@ qla2x00_mem_free(struct qla_hw_data *ha)
vfree(ha->fw_dump);
}
+ if (ha->xgmac_data)
+ dma_free_coherent(&ha->pdev->dev, XGMAC_DATA_SIZE,
+ ha->xgmac_data, ha->xgmac_data_dma);
+
if (ha->sns_cmd)
dma_free_coherent(&ha->pdev->dev, sizeof(struct sns_cmd_pkt),
ha->sns_cmd, ha->sns_cmd_dma);
OpenPOWER on IntegriCloud