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