xref: /openbmc/linux/drivers/pci/hotplug/Kconfig (revision 1804569d)
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	bool "SHPC PCI Hotplug driver"
108	help
109	  Say Y here if you have a motherboard with a SHPC PCI Hotplug
110	  controller.
111
112	  When in doubt, say N.
113
114config HOTPLUG_PCI_POWERNV
115	tristate "PowerPC PowerNV PCI Hotplug driver"
116	depends on PPC_POWERNV && EEH
117	select OF_DYNAMIC
118	help
119	  Say Y here if you run PowerPC PowerNV platform that supports
120	  PCI Hotplug
121
122	  To compile this driver as a module, choose M here: the
123	  module will be called pnv-php.
124
125	  When in doubt, say N.
126
127config HOTPLUG_PCI_RPA
128	tristate "RPA PCI Hotplug driver"
129	depends on PPC_PSERIES && EEH
130	help
131	  Say Y here if you have a RPA system that supports PCI Hotplug.
132
133	  To compile this driver as a module, choose M here: the
134	  module will be called rpaphp.
135
136	  When in doubt, say N.
137
138config HOTPLUG_PCI_RPA_DLPAR
139	tristate "RPA Dynamic Logical Partitioning for I/O slots"
140	depends on HOTPLUG_PCI_RPA
141	help
142	  Say Y here if your system supports Dynamic Logical Partitioning
143	  for I/O slots.
144
145	  To compile this driver as a module, choose M here: the
146	  module will be called rpadlpar_io.
147
148	  When in doubt, say N.
149
150config HOTPLUG_PCI_SGI
151	tristate "SGI PCI Hotplug Support"
152	depends on IA64_SGI_SN2 || IA64_GENERIC
153	help
154	  Say Y here if you want to use the SGI Altix Hotplug
155	  Driver for PCI devices.
156
157	  When in doubt, say N.
158
159config HOTPLUG_PCI_S390
160	bool "System z PCI Hotplug Support"
161	depends on S390 && 64BIT
162	help
163	  Say Y here if you want to use the System z PCI Hotplug
164	  driver for PCI devices. Without this driver it is not
165	  possible to access stand-by PCI functions nor to deconfigure
166	  PCI functions.
167
168	  When in doubt, say Y.
169
170endif # HOTPLUG_PCI
171