xref: /openbmc/linux/drivers/pci/hotplug/Kconfig (revision 95e9fd10)
1#
2# PCI Hotplug support
3#
4
5menuconfig HOTPLUG_PCI
6	tristate "Support for PCI Hotplug"
7	depends on PCI && HOTPLUG && SYSFS
8	---help---
9	  Say Y here if you have a motherboard with a PCI Hotplug controller.
10	  This allows you to add and remove PCI cards while the machine is
11	  powered up and running.
12
13	  To compile this driver as a module, choose M here: the
14	  module will be called pci_hotplug.
15
16	  When in doubt, say N.
17
18if HOTPLUG_PCI
19
20config HOTPLUG_PCI_FAKE
21	tristate "Fake PCI Hotplug driver"
22	help
23	  Say Y here if you want to use the fake PCI hotplug driver. It can
24	  be used to simulate PCI hotplug events if even if your system is
25	  not PCI hotplug capable.
26
27	  This driver will "emulate" removing PCI devices from the system.
28	  If the "power" file is written to with "0" then the specified PCI
29	  device will be completely removed from the kernel.
30
31	  WARNING, this does NOT turn off the power to the PCI device.
32	  This is a "logical" removal, not a physical or electrical
33	  removal.
34
35	  Use this module at your own risk.  You have been warned!
36
37	  To compile this driver as a module, choose M here: the
38	  module will be called fakephp.
39
40	  When in doubt, say N.
41
42config HOTPLUG_PCI_COMPAQ
43	tristate "Compaq PCI Hotplug driver"
44	depends on X86 && PCI_BIOS
45	help
46	  Say Y here if you have a motherboard with a Compaq PCI Hotplug
47	  controller.
48
49	  To compile this driver as a module, choose M here: the
50	  module will be called cpqphp.
51
52	  When in doubt, say N.
53
54config HOTPLUG_PCI_COMPAQ_NVRAM
55	bool "Save configuration into NVRAM on Compaq servers"
56	depends on HOTPLUG_PCI_COMPAQ
57	help
58	  Say Y here if you have a Compaq server that has a PCI Hotplug
59	  controller.  This will allow the PCI Hotplug driver to store the PCI
60	  system configuration options in NVRAM.
61
62	  When in doubt, say N.
63
64config HOTPLUG_PCI_IBM
65	tristate "IBM PCI Hotplug driver"
66	depends on X86_IO_APIC && X86 && PCI_BIOS
67	help
68	  Say Y here if you have a motherboard with a IBM PCI Hotplug
69	  controller.
70
71	  To compile this driver as a module, choose M here: the
72	  module will be called ibmphp.
73
74	  When in doubt, say N.
75
76config HOTPLUG_PCI_ACPI
77	tristate "ACPI PCI Hotplug driver"
78	depends on (!ACPI_DOCK && ACPI) || (ACPI_DOCK)
79	help
80	  Say Y here if you have a 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.
85
86	  When in doubt, say N.
87
88config HOTPLUG_PCI_ACPI_IBM
89	tristate "ACPI PCI Hotplug driver IBM extensions"
90	depends on HOTPLUG_PCI_ACPI
91	help
92	  Say Y here if you have an IBM system that supports PCI Hotplug using
93	  ACPI.
94
95	  To compile this driver as a module, choose M here: the
96	  module will be called acpiphp_ibm.
97
98	  When in doubt, say N.
99
100config HOTPLUG_PCI_CPCI
101	bool "CompactPCI Hotplug driver"
102	help
103	  Say Y here if you have a CompactPCI system card with CompactPCI
104	  hotswap support per the PICMG 2.1 specification.
105
106	  When in doubt, say N.
107
108config HOTPLUG_PCI_CPCI_ZT5550
109	tristate "Ziatech ZT5550 CompactPCI Hotplug driver"
110	depends on HOTPLUG_PCI_CPCI && X86
111	help
112	  Say Y here if you have an Performance Technologies (formerly Intel,
113          formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
114
115	  To compile this driver as a module, choose M here: the
116	  module will be called cpcihp_zt5550.
117
118	  When in doubt, say N.
119
120config HOTPLUG_PCI_CPCI_GENERIC
121	tristate "Generic port I/O CompactPCI Hotplug driver"
122	depends on HOTPLUG_PCI_CPCI && X86
123	help
124	  Say Y here if you have a CompactPCI system card that exposes the #ENUM
125	  hotswap signal as a bit in a system register that can be read through
126	  standard port I/O.
127
128	  To compile this driver as a module, choose M here: the
129	  module will be called cpcihp_generic.
130
131	  When in doubt, say N.
132
133config HOTPLUG_PCI_SHPC
134	tristate "SHPC PCI Hotplug driver"
135	help
136	  Say Y here if you have a motherboard with a SHPC PCI Hotplug
137	  controller.
138
139	  To compile this driver as a module, choose M here: the
140	  module will be called shpchp.
141
142	  When in doubt, say N.
143
144config HOTPLUG_PCI_RPA
145	tristate "RPA PCI Hotplug driver"
146	depends on PPC_PSERIES && EEH && !HOTPLUG_PCI_FAKE
147	help
148	  Say Y here if you have a RPA system that supports PCI Hotplug.
149
150	  To compile this driver as a module, choose M here: the
151	  module will be called rpaphp.
152
153	  When in doubt, say N.
154
155config HOTPLUG_PCI_RPA_DLPAR
156	tristate "RPA Dynamic Logical Partitioning for I/O slots"
157	depends on HOTPLUG_PCI_RPA
158	help
159	  Say Y here if your system supports Dynamic Logical Partitioning
160	  for I/O slots.
161
162	  To compile this driver as a module, choose M here: the
163	  module will be called rpadlpar_io.
164
165 	  When in doubt, say N.
166
167config HOTPLUG_PCI_SGI
168	tristate "SGI PCI Hotplug Support"
169	depends on IA64_SGI_SN2 || IA64_GENERIC
170	help
171	  Say Y here if you want to use the SGI Altix Hotplug
172	  Driver for PCI devices.
173
174	  When in doubt, say N.
175
176endif # HOTPLUG_PCI
177