let "PCMCIA SCSI adapter support" menu depend on MODULES
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"
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.