Commit d4770143 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Greg Kroah-Hartman

PCI hotplug: Use menuconfig objects

Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.
Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
Cc: Scott Murray <scottm@somanetworks.com>
Signed-off-by: default avatarKristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 03555d59
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
# PCI Hotplug support # PCI Hotplug support
# #
menu "PCI Hotplug Support" menuconfig HOTPLUG_PCI
config HOTPLUG_PCI
tristate "Support for PCI Hotplug (EXPERIMENTAL)" tristate "Support for PCI Hotplug (EXPERIMENTAL)"
depends on PCI && EXPERIMENTAL && HOTPLUG depends on PCI && EXPERIMENTAL && HOTPLUG
---help--- ---help---
...@@ -17,9 +15,10 @@ config HOTPLUG_PCI ...@@ -17,9 +15,10 @@ config HOTPLUG_PCI
When in doubt, say N. When in doubt, say N.
if HOTPLUG_PCI
config HOTPLUG_PCI_FAKE config HOTPLUG_PCI_FAKE
tristate "Fake PCI Hotplug driver" tristate "Fake PCI Hotplug driver"
depends on HOTPLUG_PCI
help help
Say Y here if you want to use the fake PCI hotplug driver. It can 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 be used to simulate PCI hotplug events if even if your system is
...@@ -42,7 +41,7 @@ config HOTPLUG_PCI_FAKE ...@@ -42,7 +41,7 @@ config HOTPLUG_PCI_FAKE
config HOTPLUG_PCI_COMPAQ config HOTPLUG_PCI_COMPAQ
tristate "Compaq PCI Hotplug driver" tristate "Compaq PCI Hotplug driver"
depends on HOTPLUG_PCI && X86 && PCI_BIOS depends on X86 && PCI_BIOS
help help
Say Y here if you have a motherboard with a Compaq PCI Hotplug Say Y here if you have a motherboard with a Compaq PCI Hotplug
controller. controller.
...@@ -64,7 +63,7 @@ config HOTPLUG_PCI_COMPAQ_NVRAM ...@@ -64,7 +63,7 @@ config HOTPLUG_PCI_COMPAQ_NVRAM
config HOTPLUG_PCI_IBM config HOTPLUG_PCI_IBM
tristate "IBM PCI Hotplug driver" tristate "IBM PCI Hotplug driver"
depends on HOTPLUG_PCI && X86_IO_APIC && X86 && PCI_BIOS depends on X86_IO_APIC && X86 && PCI_BIOS
help help
Say Y here if you have a motherboard with a IBM PCI Hotplug Say Y here if you have a motherboard with a IBM PCI Hotplug
controller. controller.
...@@ -76,7 +75,6 @@ config HOTPLUG_PCI_IBM ...@@ -76,7 +75,6 @@ config HOTPLUG_PCI_IBM
config HOTPLUG_PCI_ACPI config HOTPLUG_PCI_ACPI
tristate "ACPI PCI Hotplug driver" tristate "ACPI PCI Hotplug driver"
depends on HOTPLUG_PCI
depends on (!ACPI_DOCK && ACPI) || (ACPI_DOCK) depends on (!ACPI_DOCK && ACPI) || (ACPI_DOCK)
help help
Say Y here if you have a system that supports PCI Hotplug using Say Y here if you have a system that supports PCI Hotplug using
...@@ -101,7 +99,6 @@ config HOTPLUG_PCI_ACPI_IBM ...@@ -101,7 +99,6 @@ config HOTPLUG_PCI_ACPI_IBM
config HOTPLUG_PCI_CPCI config HOTPLUG_PCI_CPCI
bool "CompactPCI Hotplug driver" bool "CompactPCI Hotplug driver"
depends on HOTPLUG_PCI
help help
Say Y here if you have a CompactPCI system card with CompactPCI Say Y here if you have a CompactPCI system card with CompactPCI
hotswap support per the PICMG 2.1 specification. hotswap support per the PICMG 2.1 specification.
...@@ -110,7 +107,7 @@ config HOTPLUG_PCI_CPCI ...@@ -110,7 +107,7 @@ config HOTPLUG_PCI_CPCI
config HOTPLUG_PCI_CPCI_ZT5550 config HOTPLUG_PCI_CPCI_ZT5550
tristate "Ziatech ZT5550 CompactPCI Hotplug driver" tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
depends on HOTPLUG_PCI && HOTPLUG_PCI_CPCI && X86 depends on HOTPLUG_PCI_CPCI && X86
help help
Say Y here if you have an Performance Technologies (formerly Intel, Say Y here if you have an Performance Technologies (formerly Intel,
formerly just Ziatech) Ziatech ZT5550 CompactPCI system card. formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
...@@ -122,7 +119,7 @@ config HOTPLUG_PCI_CPCI_ZT5550 ...@@ -122,7 +119,7 @@ config HOTPLUG_PCI_CPCI_ZT5550
config HOTPLUG_PCI_CPCI_GENERIC config HOTPLUG_PCI_CPCI_GENERIC
tristate "Generic port I/O CompactPCI Hotplug driver" tristate "Generic port I/O CompactPCI Hotplug driver"
depends on HOTPLUG_PCI && HOTPLUG_PCI_CPCI && X86 depends on HOTPLUG_PCI_CPCI && X86
help help
Say Y here if you have a CompactPCI system card that exposes the #ENUM 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 hotswap signal as a bit in a system register that can be read through
...@@ -135,7 +132,6 @@ config HOTPLUG_PCI_CPCI_GENERIC ...@@ -135,7 +132,6 @@ config HOTPLUG_PCI_CPCI_GENERIC
config HOTPLUG_PCI_SHPC config HOTPLUG_PCI_SHPC
tristate "SHPC PCI Hotplug driver" tristate "SHPC PCI Hotplug driver"
depends on HOTPLUG_PCI
help help
Say Y here if you have a motherboard with a SHPC PCI Hotplug Say Y here if you have a motherboard with a SHPC PCI Hotplug
controller. controller.
...@@ -147,7 +143,7 @@ config HOTPLUG_PCI_SHPC ...@@ -147,7 +143,7 @@ config HOTPLUG_PCI_SHPC
config HOTPLUG_PCI_RPA config HOTPLUG_PCI_RPA
tristate "RPA PCI Hotplug driver" tristate "RPA PCI Hotplug driver"
depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE depends on PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
help help
Say Y here if you have a RPA system that supports PCI Hotplug. Say Y here if you have a RPA system that supports PCI Hotplug.
...@@ -170,12 +166,11 @@ config HOTPLUG_PCI_RPA_DLPAR ...@@ -170,12 +166,11 @@ config HOTPLUG_PCI_RPA_DLPAR
config HOTPLUG_PCI_SGI config HOTPLUG_PCI_SGI
tristate "SGI PCI Hotplug Support" tristate "SGI PCI Hotplug Support"
depends on HOTPLUG_PCI && (IA64_SGI_SN2 || IA64_GENERIC) depends on IA64_SGI_SN2 || IA64_GENERIC
help help
Say Y here if you want to use the SGI Altix Hotplug Say Y here if you want to use the SGI Altix Hotplug
Driver for PCI devices. Driver for PCI devices.
When in doubt, say N. When in doubt, say N.
endmenu endif # HOTPLUG_PCI
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment