Skip to contentSkip to conversation

only show the "PCMCIA SCSI drivers" submenu if "PCMCIA SCSI drivers" is selected

PATCH New Tomas Szepe 1 participant 1 message Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 only show the "PCMCIA SCSI drivers" submenu if "PCMCIA SCSI drivers" is selected

Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.

Only show the PCMCIA SCSI drivers submenu if the "PCMCIA SCSI drivers" entry is selected.

Signature · 27 lines
Tomas Szepe <[email protected]>

diff -urN a/drivers/scsi/pcmcia/Kconfig b/drivers/scsi/pcmcia/Kconfig
--- a/drivers/scsi/pcmcia/Kconfig	2002-12-08 20:06:19.000000000 +0100
+++ b/drivers/scsi/pcmcia/Kconfig	2003-01-01 18:02:31.000000000 +0100
@@ -2,10 +2,8 @@
 # PCMCIA SCSI adapter configuration
 #
 
-menu "PCMCIA SCSI adapter support"
-	depends on SCSI!=n && HOTPLUG && PCMCIA!=n
-
 config SCSI_PCMCIA
+	depends on SCSI!=n && HOTPLUG && PCMCIA!=n
 	bool "PCMCIA SCSI adapter support"
 	help
 	  Say Y here if you intend to attach a PCMCIA or CardBus card to your
@@ -16,6 +14,9 @@
 	  kernel: saying N will just cause the configurator to skip all
 	  the questions PCMCIA SCSI host adapters.
 
+menu "PCMCIA SCSI adapter support"
+	depends on SCSI_PCMCIA
+
 config PCMCIA_AHA152X
 	tristate "Adaptec AHA152X PCMCIA support"
 	depends on SCSI_PCMCIA && m