only show the PCMCIA/CardBus submenu if "PCMCIA/CardBus support" is selected
PATCH 1/1 only show the PCMCIA/CardBus submenu if "PCMCIA/CardBus support" is selected
Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.
Only show the PCMCIA/CardBus submenu if the PCMCIA/CardBus entry is selected.
Signature · 27 lines
Tomas Szepe <[email protected]> diff -urN a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig --- a/drivers/pcmcia/Kconfig 2002-10-31 02:33:50.000000000 +0100 +++ b/drivers/pcmcia/Kconfig 2003-01-01 17:03:59.000000000 +0100 @@ -5,10 +5,8 @@ # by the integrated kernel driver. # -menu "PCMCIA/CardBus support" - depends on HOTPLUG - config PCMCIA + depends on HOTPLUG tristate "PCMCIA/CardBus support" ---help--- Say Y here if you want to attach PCMCIA- or PC-cards to your Linux @@ -29,6 +27,9 @@ and ds.o. If you want to compile it as a module, say M here and read <file:Documentation/modules.txt>. +menu "PCMCIA/CardBus support config" + depends on PCMCIA + config CARDBUS bool "CardBus support" depends on PCMCIA && PCI