2003-09-03 23:23:41

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] 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

--- linux-2.6.0-test4-mm5/drivers/scsi/pcmcia/Kconfig.old 2003-09-04 01:18:17.000000000 +0200
+++ linux-2.6.0-test4-mm5/drivers/scsi/pcmcia/Kconfig 2003-09-04 01:19:03.000000000 +0200
@@ -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"


2003-09-04 07:27:25

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [2.6 patch] let "PCMCIA SCSI adapter support" menu depend on MODULES

On Thu, Sep 04, 2003 at 01:23:34AM +0200, Adrian Bunk wrote:
> 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.