xref: /openbmc/linux/drivers/pci/hotplug/Kconfig (revision 82280f7a)
17328c8f4SBjorn Helgaas# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# PCI Hotplug support
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6d4770143SJan Engelhardtmenuconfig HOTPLUG_PCI
77cd29f4bSBjorn Helgaas	bool "Support for PCI Hotplug"
840b31360SStephen Rothwell	depends on PCI && SYSFS
91da177e4SLinus Torvalds	---help---
101da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a PCI Hotplug controller.
111da177e4SLinus Torvalds	  This allows you to add and remove PCI cards while the machine is
12654143eeSPavel Machek	  powered up and running.
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds	  When in doubt, say N.
151da177e4SLinus Torvalds
16d4770143SJan Engelhardtif HOTPLUG_PCI
17d4770143SJan Engelhardt
181da177e4SLinus Torvaldsconfig HOTPLUG_PCI_COMPAQ
191da177e4SLinus Torvalds	tristate "Compaq PCI Hotplug driver"
2012a9da0fSAlex Chiang	depends on X86 && PCI_BIOS
211da177e4SLinus Torvalds	help
221da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a Compaq PCI Hotplug
231da177e4SLinus Torvalds	  controller.
241da177e4SLinus Torvalds
251da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
261da177e4SLinus Torvalds	  module will be called cpqphp.
271da177e4SLinus Torvalds
281da177e4SLinus Torvalds	  When in doubt, say N.
291da177e4SLinus Torvalds
301da177e4SLinus Torvaldsconfig HOTPLUG_PCI_COMPAQ_NVRAM
311da177e4SLinus Torvalds	bool "Save configuration into NVRAM on Compaq servers"
321da177e4SLinus Torvalds	depends on HOTPLUG_PCI_COMPAQ
331da177e4SLinus Torvalds	help
341da177e4SLinus Torvalds	  Say Y here if you have a Compaq server that has a PCI Hotplug
351da177e4SLinus Torvalds	  controller.  This will allow the PCI Hotplug driver to store the PCI
361da177e4SLinus Torvalds	  system configuration options in NVRAM.
371da177e4SLinus Torvalds
381da177e4SLinus Torvalds	  When in doubt, say N.
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsconfig HOTPLUG_PCI_IBM
411da177e4SLinus Torvalds	tristate "IBM PCI Hotplug driver"
423b57eff0SGreg Kroah-Hartman	depends on X86_IO_APIC && X86 && PCI_BIOS
431da177e4SLinus Torvalds	help
441da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a IBM PCI Hotplug
451da177e4SLinus Torvalds	  controller.
461da177e4SLinus Torvalds
471da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
481da177e4SLinus Torvalds	  module will be called ibmphp.
491da177e4SLinus Torvalds
501da177e4SLinus Torvalds	  When in doubt, say N.
511da177e4SLinus Torvalds
521da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI
536037a803SJiang Liu	bool "ACPI PCI Hotplug driver"
546037a803SJiang Liu	depends on HOTPLUG_PCI=y && ((!ACPI_DOCK && ACPI) || (ACPI_DOCK))
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  Say Y here if you have a system that supports PCI Hotplug using
571da177e4SLinus Torvalds	  ACPI.
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds	  When in doubt, say N.
601da177e4SLinus Torvalds
611da177e4SLinus Torvaldsconfig HOTPLUG_PCI_ACPI_IBM
621da177e4SLinus Torvalds	tristate "ACPI PCI Hotplug driver IBM extensions"
631da177e4SLinus Torvalds	depends on HOTPLUG_PCI_ACPI
641da177e4SLinus Torvalds	help
651da177e4SLinus Torvalds	  Say Y here if you have an IBM system that supports PCI Hotplug using
661da177e4SLinus Torvalds	  ACPI.
671da177e4SLinus Torvalds
681da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
691da177e4SLinus Torvalds	  module will be called acpiphp_ibm.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  When in doubt, say N.
721da177e4SLinus Torvalds
731da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI
741da177e4SLinus Torvalds	bool "CompactPCI Hotplug driver"
751da177e4SLinus Torvalds	help
761da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card with CompactPCI
771da177e4SLinus Torvalds	  hotswap support per the PICMG 2.1 specification.
781da177e4SLinus Torvalds
791da177e4SLinus Torvalds	  When in doubt, say N.
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_ZT5550
821da177e4SLinus Torvalds	tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
83d4770143SJan Engelhardt	depends on HOTPLUG_PCI_CPCI && X86
841da177e4SLinus Torvalds	help
851da177e4SLinus Torvalds	  Say Y here if you have an Performance Technologies (formerly Intel,
861da177e4SLinus Torvalds          formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
891da177e4SLinus Torvalds	  module will be called cpcihp_zt5550.
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  When in doubt, say N.
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsconfig HOTPLUG_PCI_CPCI_GENERIC
941da177e4SLinus Torvalds	tristate "Generic port I/O CompactPCI Hotplug driver"
9533ae6ef2SGreg Kroah-Hartman	depends on HOTPLUG_PCI_CPCI && X86
961da177e4SLinus Torvalds	help
971da177e4SLinus Torvalds	  Say Y here if you have a CompactPCI system card that exposes the #ENUM
981da177e4SLinus Torvalds	  hotswap signal as a bit in a system register that can be read through
991da177e4SLinus Torvalds	  standard port I/O.
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1021da177e4SLinus Torvalds	  module will be called cpcihp_generic.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  When in doubt, say N.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SHPC
10782280f7aSMika Westerberg	bool "SHPC PCI Hotplug driver"
1081da177e4SLinus Torvalds	help
1091da177e4SLinus Torvalds	  Say Y here if you have a motherboard with a SHPC PCI Hotplug
1101da177e4SLinus Torvalds	  controller.
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvalds	  When in doubt, say N.
1131da177e4SLinus Torvalds
11466725152SGavin Shanconfig HOTPLUG_PCI_POWERNV
11566725152SGavin Shan	tristate "PowerPC PowerNV PCI Hotplug driver"
11666725152SGavin Shan	depends on PPC_POWERNV && EEH
11766725152SGavin Shan	select OF_DYNAMIC
11866725152SGavin Shan	help
11966725152SGavin Shan	  Say Y here if you run PowerPC PowerNV platform that supports
12066725152SGavin Shan	  PCI Hotplug
12166725152SGavin Shan
12266725152SGavin Shan	  To compile this driver as a module, choose M here: the
12366725152SGavin Shan	  module will be called pnv-php.
12466725152SGavin Shan
12566725152SGavin Shan	  When in doubt, say N.
12666725152SGavin Shan
1271da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA
1281da177e4SLinus Torvalds	tristate "RPA PCI Hotplug driver"
129c2b5acc3SBjorn Helgaas	depends on PPC_PSERIES && EEH
1301da177e4SLinus Torvalds	help
131cab00891SMatt LaPlante	  Say Y here if you have a RPA system that supports PCI Hotplug.
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1341da177e4SLinus Torvalds	  module will be called rpaphp.
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvalds	  When in doubt, say N.
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvaldsconfig HOTPLUG_PCI_RPA_DLPAR
1391da177e4SLinus Torvalds	tristate "RPA Dynamic Logical Partitioning for I/O slots"
1401da177e4SLinus Torvalds	depends on HOTPLUG_PCI_RPA
1411da177e4SLinus Torvalds	help
1421da177e4SLinus Torvalds	  Say Y here if your system supports Dynamic Logical Partitioning
1431da177e4SLinus Torvalds	  for I/O slots.
1441da177e4SLinus Torvalds
1451da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1461da177e4SLinus Torvalds	  module will be called rpadlpar_io.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds	  When in doubt, say N.
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvaldsconfig HOTPLUG_PCI_SGI
1511da177e4SLinus Torvalds	tristate "SGI PCI Hotplug Support"
152d4770143SJan Engelhardt	depends on IA64_SGI_SN2 || IA64_GENERIC
1531da177e4SLinus Torvalds	help
1546f354b01SPrarit Bhargava	  Say Y here if you want to use the SGI Altix Hotplug
1556f354b01SPrarit Bhargava	  Driver for PCI devices.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvalds	  When in doubt, say N.
1581da177e4SLinus Torvalds
1597441b062SJan Glauberconfig HOTPLUG_PCI_S390
16067f43f38SSebastian Ott	bool "System z PCI Hotplug Support"
1617441b062SJan Glauber	depends on S390 && 64BIT
1627441b062SJan Glauber	help
1637441b062SJan Glauber	  Say Y here if you want to use the System z PCI Hotplug
1647441b062SJan Glauber	  driver for PCI devices. Without this driver it is not
1657441b062SJan Glauber	  possible to access stand-by PCI functions nor to deconfigure
1667441b062SJan Glauber	  PCI functions.
1677441b062SJan Glauber
1687441b062SJan Glauber	  When in doubt, say Y.
1697441b062SJan Glauber
170d4770143SJan Engelhardtendif # HOTPLUG_PCI
171