Skip to content

Commit

Permalink
PCI hotplug: Use menuconfig objects
Browse files Browse the repository at this point in the history
Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Scott Murray <scottm@somanetworks.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jan Engelhardt authored and Greg Kroah-Hartman committed May 3, 2007
1 parent 03555d5 commit d477014
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions drivers/pci/hotplug/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# PCI Hotplug support
#

menu "PCI Hotplug Support"

config HOTPLUG_PCI
menuconfig HOTPLUG_PCI
tristate "Support for PCI Hotplug (EXPERIMENTAL)"
depends on PCI && EXPERIMENTAL && HOTPLUG
---help---
Expand All @@ -17,9 +15,10 @@ config HOTPLUG_PCI

When in doubt, say N.

if HOTPLUG_PCI

config HOTPLUG_PCI_FAKE
tristate "Fake PCI Hotplug driver"
depends on HOTPLUG_PCI
help
Say Y here if you want to use the fake PCI hotplug driver. It can
be used to simulate PCI hotplug events if even if your system is
Expand All @@ -42,7 +41,7 @@ config HOTPLUG_PCI_FAKE

config HOTPLUG_PCI_COMPAQ
tristate "Compaq PCI Hotplug driver"
depends on HOTPLUG_PCI && X86 && PCI_BIOS
depends on X86 && PCI_BIOS
help
Say Y here if you have a motherboard with a Compaq PCI Hotplug
controller.
Expand All @@ -64,7 +63,7 @@ config HOTPLUG_PCI_COMPAQ_NVRAM

config HOTPLUG_PCI_IBM
tristate "IBM PCI Hotplug driver"
depends on HOTPLUG_PCI && X86_IO_APIC && X86 && PCI_BIOS
depends on X86_IO_APIC && X86 && PCI_BIOS
help
Say Y here if you have a motherboard with a IBM PCI Hotplug
controller.
Expand All @@ -76,7 +75,6 @@ config HOTPLUG_PCI_IBM

config HOTPLUG_PCI_ACPI
tristate "ACPI PCI Hotplug driver"
depends on HOTPLUG_PCI
depends on (!ACPI_DOCK && ACPI) || (ACPI_DOCK)
help
Say Y here if you have a system that supports PCI Hotplug using
Expand All @@ -101,7 +99,6 @@ config HOTPLUG_PCI_ACPI_IBM

config HOTPLUG_PCI_CPCI
bool "CompactPCI Hotplug driver"
depends on HOTPLUG_PCI
help
Say Y here if you have a CompactPCI system card with CompactPCI
hotswap support per the PICMG 2.1 specification.
Expand All @@ -110,7 +107,7 @@ config HOTPLUG_PCI_CPCI

config HOTPLUG_PCI_CPCI_ZT5550
tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
depends on HOTPLUG_PCI && HOTPLUG_PCI_CPCI && X86
depends on HOTPLUG_PCI_CPCI && X86
help
Say Y here if you have an Performance Technologies (formerly Intel,
formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
Expand All @@ -122,7 +119,7 @@ config HOTPLUG_PCI_CPCI_ZT5550

config HOTPLUG_PCI_CPCI_GENERIC
tristate "Generic port I/O CompactPCI Hotplug driver"
depends on HOTPLUG_PCI && HOTPLUG_PCI_CPCI && X86
depends on HOTPLUG_PCI_CPCI && X86
help
Say Y here if you have a CompactPCI system card that exposes the #ENUM
hotswap signal as a bit in a system register that can be read through
Expand All @@ -135,7 +132,6 @@ config HOTPLUG_PCI_CPCI_GENERIC

config HOTPLUG_PCI_SHPC
tristate "SHPC PCI Hotplug driver"
depends on HOTPLUG_PCI
help
Say Y here if you have a motherboard with a SHPC PCI Hotplug
controller.
Expand All @@ -147,7 +143,7 @@ config HOTPLUG_PCI_SHPC

config HOTPLUG_PCI_RPA
tristate "RPA PCI Hotplug driver"
depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
depends on PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
help
Say Y here if you have a RPA system that supports PCI Hotplug.

Expand All @@ -170,12 +166,11 @@ config HOTPLUG_PCI_RPA_DLPAR

config HOTPLUG_PCI_SGI
tristate "SGI PCI Hotplug Support"
depends on HOTPLUG_PCI && (IA64_SGI_SN2 || IA64_GENERIC)
depends on IA64_SGI_SN2 || IA64_GENERIC
help
Say Y here if you want to use the SGI Altix Hotplug
Driver for PCI devices.

When in doubt, say N.

endmenu

endif # HOTPLUG_PCI

0 comments on commit d477014

Please sign in to comment.