xref: /openbmc/linux/drivers/pci/hotplug/Kconfig (revision 654143ee)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# PCI Hotplug support
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "PCI Hotplug Support"
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig HOTPLUG_PCI
81da177e4SLinus Torvalds	tristate "Support for PCI Hotplug (EXPERIMENTAL)"
91da177e4SLinus Torvalds	depends on PCI && EXPERIMENTAL
101da177e4SLinus Torvalds	select HOTPLUG
111da177e4SLinus Torvalds	---help---
121da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a PCI Hotplug controller.
131da177e4SLinus Torvalds	  This allows you to add and remove PCI cards while the machine is
14654143eeSPavel Machek	  powered up and running.
151da177e4SLinus Torvalds
161da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
171da177e4SLinus Torvalds	  module will be called pci_hotplug.
181da177e4SLinus Torvalds
191da177e4SLinus Torvalds	  When in doubt, say N.
201da177e4SLinus Torvalds
211da177e4SLinus Torvaldsconfig HOTPLUG_PCI_FAKE
221da177e4SLinus Torvalds	tristate "Fake PCI Hotplug driver"
231da177e4SLinus Torvalds	depends on HOTPLUG_PCI
241da177e4SLinus Torvalds	help
251da177e4SLinus Torvalds	  Say Y here if you want to use the fake PCI hotplug driver. It can
261da177e4SLinus Torvalds	  be used to simulate PCI hotplug events if even if your system is
271da177e4SLinus Torvalds	  not PCI hotplug capable.
281da177e4SLinus Torvalds
291da177e4SLinus Torvalds	  This driver will "emulate" removing PCI devices from the system.
301da177e4SLinus Torvalds	  If the "power" file is written to with "0" then the specified PCI
311da177e4SLinus Torvalds	  device will be completely removed from the kernel.
321da177e4SLinus Torvalds
331da177e4SLinus Torvalds	  WARNING, this does NOT turn off the power to the PCI device.
341da177e4SLinus Torvalds	  This is a "logical" removal, not a physical or electrical
351da177e4SLinus Torvalds	  removal.
361da177e4SLinus Torvalds
371da177e4SLinus Torvalds	  Use this module at your own risk.  You have been warned!
381da177e4SLinus Torvalds
391da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
401da177e4SLinus Torvalds	  module will be called fakephp.
411da177e4SLinus Torvalds
421da177e4SLinus Torvalds	  When in doubt, say N.
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldsconfig HOTPLUG_PCI_COMPAQ
451da177e4SLinus Torvalds	tristate "Compaq PCI Hotplug driver"
461da177e4SLinus Torvalds	depends on HOTPLUG_PCI && X86 && PCI_BIOS
471da177e4SLinus Torvalds	help
481da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a Compaq PCI Hotplug
491da177e4SLinus Torvalds	  controller.
501da177e4SLinus Torvalds
511da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
521da177e4SLinus Torvalds	  module will be called cpqphp.
531da177e4SLinus Torvalds
541da177e4SLinus Torvalds	  When in doubt, say N.
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldsconfig HOTPLUG_PCI_COMPAQ_NVRAM
571da177e4SLinus Torvalds	bool "Save configuration into NVRAM on Compaq servers"
581da177e4SLinus Torvalds	depends on HOTPLUG_PCI_COMPAQ
591da177e4SLinus Torvalds	help
601da177e4SLinus Torvalds	  Say Y here if you have a Compaq server that has a PCI Hotplug
611da177e4SLinus Torvalds	  controller.  This will allow the PCI Hotplug driver to store the PCI
621da177e4SLinus Torvalds	  system configuration options in NVRAM.
631da177e4SLinus Torvalds
641da177e4SLinus Torvalds	  When in doubt, say N.
651da177e4SLinus Torvalds
661da177e4SLinus Torvaldsconfig HOTPLUG_PCI_IBM
671da177e4SLinus Torvalds	tristate "IBM PCI Hotplug driver"
681da177e4SLinus Torvalds	depends on HOTPLUG_PCI && X86_IO_APIC && X86 && PCI_BIOS
691da177e4SLinus Torvalds	help
701da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a IBM PCI Hotplug
711da177e4SLinus Torvalds	  controller.
721da177e4SLinus Torvalds
731da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
741da177e4SLinus Torvalds	  module will be called ibmphp.
751da177e4SLinus Torvalds
761da177e4SLinus Torvalds	  When in doubt, say N.
771da177e4SLinus Torvalds
781da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI
791da177e4SLinus Torvalds	tristate "ACPI PCI Hotplug driver"
8076f58584SLen Brown	depends on ACPI && HOTPLUG_PCI
811da177e4SLinus Torvalds	help
821da177e4SLinus Torvalds	  Say Y here if you have a system that supports PCI Hotplug using
831da177e4SLinus Torvalds	  ACPI.
841da177e4SLinus Torvalds
851da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
861da177e4SLinus Torvalds	  module will be called acpiphp.
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  When in doubt, say N.
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI_IBM
911da177e4SLinus Torvalds	tristate "ACPI PCI Hotplug driver IBM extensions"
921da177e4SLinus Torvalds	depends on HOTPLUG_PCI_ACPI
931da177e4SLinus Torvalds	help
941da177e4SLinus Torvalds	  Say Y here if you have an IBM system that supports PCI Hotplug using
951da177e4SLinus Torvalds	  ACPI.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
981da177e4SLinus Torvalds	  module will be called acpiphp_ibm.
991da177e4SLinus Torvalds
1001da177e4SLinus Torvalds	  When in doubt, say N.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI
1031da177e4SLinus Torvalds	bool "CompactPCI Hotplug driver"
1041da177e4SLinus Torvalds	depends on HOTPLUG_PCI
1051da177e4SLinus Torvalds	help
1061da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card with CompactPCI
1071da177e4SLinus Torvalds	  hotswap support per the PICMG 2.1 specification.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  When in doubt, say N.
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_ZT5550
1121da177e4SLinus Torvalds	tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
1131da177e4SLinus Torvalds	depends on HOTPLUG_PCI && HOTPLUG_PCI_CPCI && X86
1141da177e4SLinus Torvalds	help
1151da177e4SLinus Torvalds	  Say Y here if you have an Performance Technologies (formerly Intel,
1161da177e4SLinus Torvalds          formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1191da177e4SLinus Torvalds	  module will be called cpcihp_zt5550.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvalds	  When in doubt, say N.
1221da177e4SLinus Torvalds
1231da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_GENERIC
1241da177e4SLinus Torvalds	tristate "Generic port I/O CompactPCI Hotplug driver"
1251da177e4SLinus Torvalds	depends on HOTPLUG_PCI && HOTPLUG_PCI_CPCI && X86
1261da177e4SLinus Torvalds	help
1271da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card that exposes the #ENUM
1281da177e4SLinus Torvalds	  hotswap signal as a bit in a system register that can be read through
1291da177e4SLinus Torvalds	  standard port I/O.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1321da177e4SLinus Torvalds	  module will be called cpcihp_generic.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvalds	  When in doubt, say N.
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SHPC
1371da177e4SLinus Torvalds	tristate "SHPC PCI Hotplug driver"
1381da177e4SLinus Torvalds	depends on HOTPLUG_PCI
1391da177e4SLinus Torvalds	help
1401da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a SHPC PCI Hotplug
1411da177e4SLinus Torvalds	  controller.
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1441da177e4SLinus Torvalds	  module will be called shpchp.
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvalds	  When in doubt, say N.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
1491da177e4SLinus Torvalds	bool "Use polling mechanism for hot-plug events (for testing purpose)"
1501da177e4SLinus Torvalds	depends on HOTPLUG_PCI_SHPC
1511da177e4SLinus Torvalds	help
1521da177e4SLinus Torvalds	  Say Y here if you want to use the polling mechanism for hot-plug
1531da177e4SLinus Torvalds	  events for early platform testing.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  When in doubt, say N.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SHPC_PHPRM_LEGACY
1581da177e4SLinus Torvalds	bool "For AMD SHPC only: Use $HRT for resource/configuration"
15976f58584SLen Brown	depends on HOTPLUG_PCI_SHPC && !ACPI
1601da177e4SLinus Torvalds	help
1611da177e4SLinus Torvalds	  Say Y here for AMD SHPC. You have to select this option if you are
1621da177e4SLinus Torvalds	  using this driver on platform with AMD SHPC.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA
1651da177e4SLinus Torvalds	tristate "RPA PCI Hotplug driver"
1661da177e4SLinus Torvalds	depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
1671da177e4SLinus Torvalds	help
1681da177e4SLinus Torvalds	  Say Y here if you have a a RPA system that supports PCI Hotplug.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1711da177e4SLinus Torvalds	  module will be called rpaphp.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  When in doubt, say N.
1741da177e4SLinus Torvalds
1751da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA_DLPAR
1761da177e4SLinus Torvalds	tristate "RPA Dynamic Logical Partitioning for I/O slots"
1771da177e4SLinus Torvalds	depends on HOTPLUG_PCI_RPA
1781da177e4SLinus Torvalds	help
1791da177e4SLinus Torvalds	  Say Y here if your system supports Dynamic Logical Partitioning
1801da177e4SLinus Torvalds	  for I/O slots.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1831da177e4SLinus Torvalds	  module will be called rpadlpar_io.
1841da177e4SLinus Torvalds
1851da177e4SLinus Torvalds 	  When in doubt, say N.
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SGI
1881da177e4SLinus Torvalds	tristate "SGI PCI Hotplug Support"
1896f354b01SPrarit Bhargava	depends on HOTPLUG_PCI && (IA64_SGI_SN2 || IA64_GENERIC)
1901da177e4SLinus Torvalds	help
1916f354b01SPrarit Bhargava	  Say Y here if you want to use the SGI Altix Hotplug
1926f354b01SPrarit Bhargava	  Driver for PCI devices.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvalds	  When in doubt, say N.
1951da177e4SLinus Torvalds
1961da177e4SLinus Torvaldsendmenu
1971da177e4SLinus Torvalds
198