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