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