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