Skip to contentSkip to conversation

only show the PCI hotplug submenu if PCI hotplug 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 PCI hotplug submenu if PCI hotplug is selected

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

Only show the PCI hotplug submenu if the PCI hotplug entry is selected.

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

diff -urN a/drivers/hotplug/Kconfig b/drivers/hotplug/Kconfig
--- a/drivers/hotplug/Kconfig	2002-11-11 08:45:02.000000000 +0100
+++ b/drivers/hotplug/Kconfig	2003-01-01 17:10:06.000000000 +0100
@@ -2,12 +2,9 @@
 # PCI Hotplug support
 #
 
-menu "PCI Hotplug Support"
-	depends on HOTPLUG
-
 config HOTPLUG_PCI
 	tristate "Support for PCI Hotplug (EXPERIMENTAL)"
-	depends on PCI && EXPERIMENTAL
+	depends on HOTPLUG && PCI && EXPERIMENTAL
 	---help---
 	  Say Y here if you have a motherboard with a PCI Hotplug controller.
 	  This allows you to add and remove PCI cards while the machine is
@@ -21,6 +18,9 @@
 
 	  When in doubt, say N.
 
+menu "PCI Hotplug Support config"
+	depends on HOTPLUG_PCI
+
 config HOTPLUG_PCI_COMPAQ
 	tristate "Compaq PCI Hotplug driver"
 	depends on HOTPLUG_PCI && X86