summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_isr.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-07-06 19:30:05 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-07-14 16:47:30 +0200
commitabbd8870b9cb7754a4935826bc9f3c7b029f8b7c (patch)
treec795f15d35c18a08c97dcbdaeb83a4e0c67679c6 /drivers/scsi/qla2xxx/qla_isr.c
parent[SCSI] SPI transport class, don't negotiate options not supported (diff)
downloadlinux-abbd8870b9cb7754a4935826bc9f3c7b029f8b7c.tar.xz
linux-abbd8870b9cb7754a4935826bc9f3c7b029f8b7c.zip
[SCSI] qla2xxx: Factor-out ISP specific functions to method-based call tables.
Factor-out ISP specific functions to method-based call tables. In anticipation of ISP24xx/ISP25xx support, factor-out ISP specific functions into a method-based call table. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index e7a8b74157a5..117b56242ee2 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -356,10 +356,7 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint32_t mbx)
"ISP System Error - mbx1=%xh mbx2=%xh mbx3=%xh.\n",
mb[1], mb[2], mb[3]);
- if (IS_QLA2100(ha) || IS_QLA2200(ha))
- qla2100_fw_dump(ha, 1);
- else
- qla2300_fw_dump(ha, 1);
+ ha->isp_ops.fw_dump(ha, 1);
if (mb[1] == 0) {
qla_printk(KERN_INFO, ha,