| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # PCI Hotplug support |
| 4 | # |
| 5 | |
| 6 | menuconfig HOTPLUG_PCI |
| 7 | bool "Support for PCI Hotplug" |
| 8 | depends on PCI && SYSFS |
| 9 | default y if USB4 |
| 10 | help |
| 11 | Say Y here if you have a motherboard with a PCI Hotplug controller. |
| 12 | This allows you to add and remove PCI cards while the machine is |
| 13 | powered up and running. |
| 14 | |
| 15 | Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug. |
| 16 | |
| 17 | When in doubt, say N. |
| 18 | |
| 19 | if HOTPLUG_PCI |
| 20 | |
| 21 | config HOTPLUG_PCI_COMPAQ |
| 22 | tristate "Compaq PCI Hotplug driver" |
| 23 | depends on X86 && PCI_BIOS |
| 24 | help |
| 25 | Say Y here if you have a motherboard with a Compaq PCI Hotplug |
| 26 | controller. |
| 27 | |
| 28 | To compile this driver as a module, choose M here: the |
| 29 | module will be called cpqphp. |
| 30 | |
| 31 | When in doubt, say N. |
| 32 | |
| 33 | config HOTPLUG_PCI_COMPAQ_NVRAM |
| 34 | bool "Save configuration into NVRAM on Compaq servers" |
| 35 | depends on HOTPLUG_PCI_COMPAQ |
| 36 | help |
| 37 | Say Y here if you have a Compaq server that has a PCI Hotplug |
| 38 | controller. This will allow the PCI Hotplug driver to store the PCI |
| 39 | system configuration options in NVRAM. |
| 40 | |
| 41 | When in doubt, say N. |
| 42 | |
| 43 | config HOTPLUG_PCI_IBM |
| 44 | tristate "IBM PCI Hotplug driver" |
| 45 | depends on X86_IO_APIC && X86 && PCI_BIOS |
| 46 | help |
| 47 | Say Y here if you have a motherboard with a IBM PCI Hotplug |
| 48 | controller. |
| 49 | |
| 50 | To compile this driver as a module, choose M here: the |
| 51 | module will be called ibmphp. |
| 52 | |
| 53 | When in doubt, say N. |
| 54 | |
| 55 | config HOTPLUG_PCI_ACPI |
| 56 | bool "ACPI PCI Hotplug driver" |
| 57 | depends on HOTPLUG_PCI=y && ((!ACPI_DOCK && ACPI) || (ACPI_DOCK)) |
| 58 | help |
| 59 | Say Y here if you have a system that supports PCI Hotplug using |
| 60 | ACPI. |
| 61 | |
| 62 | When in doubt, say N. |
| 63 | |
| 64 | config HOTPLUG_PCI_ACPI_AMPERE_ALTRA |
| 65 | tristate "ACPI PCI Hotplug driver Ampere Altra extensions" |
| 66 | depends on HOTPLUG_PCI_ACPI |
| 67 | depends on HAVE_ARM_SMCCC_DISCOVERY |
| 68 | help |
| 69 | Say Y here if you have an Ampere Altra system. |
| 70 | |
| 71 | To compile this driver as a module, choose M here: the |
| 72 | module will be called acpiphp_ampere_altra. |
| 73 | |
| 74 | When in doubt, say N. |
| 75 | |
| 76 | config HOTPLUG_PCI_ACPI_IBM |
| 77 | tristate "ACPI PCI Hotplug driver IBM extensions" |
| 78 | depends on HOTPLUG_PCI_ACPI |
| 79 | help |
| 80 | Say Y here if you have an IBM system that supports PCI Hotplug using |
| 81 | ACPI. |
| 82 | |
| 83 | To compile this driver as a module, choose M here: the |
| 84 | module will be called acpiphp_ibm. |
| 85 | |
| 86 | When in doubt, say N. |
| 87 | |
| 88 | config HOTPLUG_PCI_CPCI |
| 89 | bool "CompactPCI Hotplug driver" |
| 90 | help |
| 91 | Say Y here if you have a CompactPCI system card with CompactPCI |
| 92 | hotswap support per the PICMG 2.1 specification. |
| 93 | |
| 94 | When in doubt, say N. |
| 95 | |
| 96 | config HOTPLUG_PCI_CPCI_ZT5550 |
| 97 | tristate "Ziatech ZT5550 CompactPCI Hotplug driver" |
| 98 | depends on HOTPLUG_PCI_CPCI && X86 |
| 99 | help |
| 100 | Say Y here if you have a Performance Technologies (formerly Intel, |
| 101 | formerly just Ziatech) Ziatech ZT5550 CompactPCI system card. |
| 102 | |
| 103 | To compile this driver as a module, choose M here: the |
| 104 | module will be called cpcihp_zt5550. |
| 105 | |
| 106 | When in doubt, say N. |
| 107 | |
| 108 | config HOTPLUG_PCI_CPCI_GENERIC |
| 109 | tristate "Generic port I/O CompactPCI Hotplug driver" |
| 110 | depends on HOTPLUG_PCI_CPCI && X86 |
| 111 | help |
| 112 | Say Y here if you have a CompactPCI system card that exposes the #ENUM |
| 113 | hotswap signal as a bit in a system register that can be read through |
| 114 | standard port I/O. |
| 115 | |
| 116 | To compile this driver as a module, choose M here: the |
| 117 | module will be called cpcihp_generic. |
| 118 | |
| 119 | When in doubt, say N. |
| 120 | |
| 121 | config HOTPLUG_PCI_OCTEONEP |
| 122 | bool "Marvell OCTEON PCI Hotplug driver" |
| 123 | depends on HOTPLUG_PCI |
| 124 | help |
| 125 | Say Y here if you have an OCTEON PCIe device with a hotplug |
| 126 | controller. This driver enables the non-controller functions of the |
| 127 | device to be registered as hotplug slots. |
| 128 | |
| 129 | When in doubt, say N. |
| 130 | |
| 131 | config HOTPLUG_PCI_SHPC |
| 132 | bool "SHPC PCI Hotplug driver" |
| 133 | help |
| 134 | Say Y here if you have a motherboard with a SHPC PCI Hotplug |
| 135 | controller. |
| 136 | |
| 137 | When in doubt, say N. |
| 138 | |
| 139 | config HOTPLUG_PCI_POWERNV |
| 140 | tristate "PowerPC PowerNV PCI Hotplug driver" |
| 141 | depends on PPC_POWERNV && EEH |
| 142 | select OF_DYNAMIC |
| 143 | help |
| 144 | Say Y here if you run PowerPC PowerNV platform that supports |
| 145 | PCI Hotplug |
| 146 | |
| 147 | To compile this driver as a module, choose M here: the |
| 148 | module will be called pnv-php. |
| 149 | |
| 150 | When in doubt, say N. |
| 151 | |
| 152 | config HOTPLUG_PCI_RPA |
| 153 | tristate "RPA PCI Hotplug driver" |
| 154 | depends on PPC_PSERIES && EEH |
| 155 | help |
| 156 | Say Y here if you have a RPA system that supports PCI Hotplug. |
| 157 | |
| 158 | To compile this driver as a module, choose M here: the |
| 159 | module will be called rpaphp. |
| 160 | |
| 161 | When in doubt, say N. |
| 162 | |
| 163 | config HOTPLUG_PCI_RPA_DLPAR |
| 164 | tristate "RPA Dynamic Logical Partitioning for I/O slots" |
| 165 | depends on HOTPLUG_PCI_RPA |
| 166 | help |
| 167 | Say Y here if your system supports Dynamic Logical Partitioning |
| 168 | for I/O slots. |
| 169 | |
| 170 | To compile this driver as a module, choose M here: the |
| 171 | module will be called rpadlpar_io. |
| 172 | |
| 173 | When in doubt, say N. |
| 174 | |
| 175 | config HOTPLUG_PCI_S390 |
| 176 | bool "System z PCI Hotplug Support" |
| 177 | depends on S390 && 64BIT |
| 178 | help |
| 179 | Say Y here if you want to use the System z PCI Hotplug |
| 180 | driver for PCI devices. Without this driver it is not |
| 181 | possible to access stand-by PCI functions nor to deconfigure |
| 182 | PCI functions. |
| 183 | |
| 184 | When in doubt, say Y. |
| 185 | |
| 186 | endif # HOTPLUG_PCI |