Fix up qla2xxx configuration bogosity
Subsystems (2)
Linus,
In looking through your latest git-pull and update of the Kconfig quirks in qla2xxx:
Fix up qla2xxx configuration bogosity
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=e0aa8afd97536a9d94f82a07b4c4b3f05aef6f82;hp=e4ff4d7f9d85a2bc714307eb9113617182e62845
Would you also apply the attached patch which adds the appropriate FW_LOADER pre-requisite and a separate entry for ISP24xx support.
Thanks to Adrian Bunk and Jesper Juhl for their efforts in fixing this quirk.
Regards,
Andrew Vasquez
---
drivers/scsi/qla2xxx/Kconfig +14 -0
@@ -7,6 +7,7 @@ config SCSI_QLA21XX tristate "QLogic ISP2100 host adapter family support" depends on SCSI_QLA2XXX select SCSI_FC_ATTRS + select FW_LOADER ---help--- This driver supports the QLogic 21xx (ISP2100) host adapter family.
@@ -14,6 +15,7 @@ config SCSI_QLA22XX tristate "QLogic ISP2200 host adapter family support" depends on SCSI_QLA2XXX select SCSI_FC_ATTRS + select FW_LOADER ---help--- This driver supports the QLogic 22xx (ISP2200) host adapter family.
@@ -21,6 +23,7 @@ config SCSI_QLA2300 tristate "QLogic ISP2300 host adapter family support" depends on SCSI_QLA2XXX select SCSI_FC_ATTRS + select FW_LOADER ---help--- This driver supports the QLogic 2300 (ISP2300 and ISP2312) host adapter family.
@@ -29,6 +32,7 @@ config SCSI_QLA2322 tristate "QLogic ISP2322 host adapter family support" depends on SCSI_QLA2XXX select SCSI_FC_ATTRS + select FW_LOADER ---help--- This driver supports the QLogic 2322 (ISP2322) host adapter family.
@@ -36,6 +40,16 @@ config SCSI_QLA6312 tristate "QLogic ISP63xx host adapter family support" depends on SCSI_QLA2XXX select SCSI_FC_ATTRS + select FW_LOADER ---help--- This driver supports the QLogic 63xx (ISP6312 and ISP6322) host adapter family. + +config SCSI_QLA24XX + tristate "QLogic ISP24xx host adapter family support" + depends on SCSI_QLA2XXX + select SCSI_FC_ATTRS + select FW_LOADER + ---help--- + This driver supports the QLogic 24xx (ISP2422 and ISP2432) host + adapter family.
drivers/scsi/qla2xxx/Makefile +0 -1
@@ -1,5 +1,4 @@ EXTRA_CFLAGS += -DUNIQUE_FW_NAME -EXTRA_CFLAGS += -DCONFIG_SCSI_QLA24XX -DCONFIG_SCSI_QLA24XX_MODULE qla2xxx-y := qla_os.o qla_init.o qla_mbx.o qla_iocb.o qla_isr.o qla_gs.o \ qla_dbg.o qla_sup.o qla_rscn.o qla_attr.o
Quoted 2 lines · Andrew Vasquez
Would you also apply the attached patch which adds the appropriate
FW_LOADERpre-requisite and a separate entry for ISP24xx support.
That's what I see reading the code; however, it looks like it's *only* the 24xx that needs it (qla24xx_load_risc_hotplug). The patch below pulls in the FW loader for every qlogic fibre driver, not just the qla24xx; is there a reason for doing this?
James
Quoted 8 lines · James Bottomley
Quoted 2 lines · Andrew Vasquez
Would you also apply the attached patch which adds the appropriate
FW_LOADERpre-requisite and a separate entry for ISP24xx support.That's what I see reading the code; however, it looks like it's *only* the 24xx that needs it (
qla24xx_load_risc_hotplug). The patch below pulls in the FW loader for every qlogic fibre driver, not just the qla24xx; is there a reason for doing this?
Yes, I've been working on a set of patches which add this functionality across the board with supported ISP types (21xx, 22xx, 23xx). I should have some patches for submission in next week's time-frame. So rather than a adding #if code around the relevant 24xx specific codes in qla2xxx, I chose the fw_loader path for all types.
Signature · 1 line
Andrew Vasquez