Skip to contentSkip to conversation

let "PCMCIA SCSI adapter support" menu depend on MODULES

PATCH In review Adrian Bunk 2 participants 2 messages Sep 3, 2003 – Sep 4, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 let "PCMCIA SCSI adapter support" menu depend on MODULES

When configuring a kernel without modules support "PCMCIA SCSI adapter support" is a menu with no available items in it (all drivers depend on "m").

The patch below only shows this menu when MODULES is enabled.

Please apply
Adrian

drivers/scsi/pcmcia/Kconfig renamed from drivers/scsi/pcmcia/Kconfig.old +1 -1
@@ -3,7 +3,7 @@
 #
 
 menu "PCMCIA SCSI adapter support"
-	depends on SCSI!=n && PCMCIA!=n
+	depends on SCSI!=n && PCMCIA!=n && MODULES
 
 config PCMCIA_AHA152X
 	tristate "Adaptec AHA152X PCMCIA support"
#1 lore raw
Quoted 5 lines · Adrian Bunk

When configuring a kernel without modules support "PCMCIA SCSI adapter support" is a menu with no available items in it (all drivers depend on "m").

The patch below only shows this menu when MODULES is enabled.

Not too happy with this watch although it's better than the previous situation. For one thing I'd get rid of the menu - we don't have menus for PCI/ISA/MCA/whatever cards either. Secondly these drivers probably should work non-modular these days.