Skip to contentSkip to conversation

config of SCSI_QLOGIC_1280_1040

PATCH New Eyal Lebedinsky 2 participants 2 messages Oct 23, 2004 – Oct 29, 2004 SCSI

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 SCSI_QLOGIC_1280_1040 dependencies

Quoted 4 lines · Eyal Lebedinsky

Should the second line be indented?

Qlogic QLA 1240/1x80/1x160 SCSI support (SCSI_QLOGIC_1280) [M/n/?] m Qlogic QLA 1020/1040 SCSI support (SCSI_QLOGIC_1280_1040) [N/y/?] (NEW) y

Correct, SCSI_QLOGIC_1280_1040 should depend on SCSI_QLOGIC_1280.

The patch below does this.

Additionally, it prevents the case that both drivers are built statically and both support the 1020/1040.

drivers/scsi/Kconfig renamed from drivers/scsi/Kconfig.old +1 -0
@@ -1288,6 +1288,7 @@
 
 config SCSI_QLOGIC_1280_1040
 	bool "Qlogic QLA 1020/1040 SCSI support"
+	depends on SCSI_QLOGIC_1280 && SCSI_QLOGIC_ISP!=y
 	help
 	  Say Y here if you have a QLogic ISP1020/1040 SCSI host adapter and
 	  do not want to use the old driver.  This option enables support in