@@ -21,13 +21,14 @@ menuconfig PCI
21
21
support for PCI-X and the foundations for PCI Express support.
22
22
Say 'Y' here unless you know what you are doing.
23
23
24
+ if PCI
25
+
24
26
config PCI_DOMAINS
25
27
bool
26
28
depends on PCI
27
29
28
30
config PCI_DOMAINS_GENERIC
29
31
bool
30
- depends on PCI
31
32
select PCI_DOMAINS
32
33
33
34
config PCI_SYSCALL
@@ -37,7 +38,6 @@ source "drivers/pci/pcie/Kconfig"
37
38
38
39
config PCI_MSI
39
40
bool "Message Signaled Interrupts (MSI and MSI-X)"
40
- depends on PCI
41
41
select GENERIC_MSI_IRQ
42
42
help
43
43
This allows device drivers to enable MSI (Message Signaled
@@ -59,15 +59,14 @@ config PCI_MSI_IRQ_DOMAIN
59
59
config PCI_QUIRKS
60
60
default y
61
61
bool "Enable PCI quirk workarounds" if EXPERT
62
- depends on PCI
63
62
help
64
63
This enables workarounds for various PCI chipset bugs/quirks.
65
64
Disable this only if your target machine is unaffected by PCI
66
65
quirks.
67
66
68
67
config PCI_DEBUG
69
68
bool "PCI Debugging"
70
- depends on PCI && DEBUG_KERNEL
69
+ depends on DEBUG_KERNEL
71
70
help
72
71
Say Y here if you want the PCI core to produce a bunch of debug
73
72
messages to the system log. Select this if you are having a
@@ -77,7 +76,6 @@ config PCI_DEBUG
77
76
78
77
config PCI_REALLOC_ENABLE_AUTO
79
78
bool "Enable PCI resource re-allocation detection"
80
- depends on PCI
81
79
depends on PCI_IOV
82
80
help
83
81
Say Y here if you want the PCI core to detect if PCI resource
@@ -90,7 +88,6 @@ config PCI_REALLOC_ENABLE_AUTO
90
88
91
89
config PCI_STUB
92
90
tristate "PCI Stub driver"
93
- depends on PCI
94
91
help
95
92
Say Y or M here if you want be able to reserve a PCI device
96
93
when it is going to be assigned to a guest operating system.
@@ -99,7 +96,6 @@ config PCI_STUB
99
96
100
97
config PCI_PF_STUB
101
98
tristate "PCI PF Stub driver"
102
- depends on PCI
103
99
depends on PCI_IOV
104
100
help
105
101
Say Y or M here if you want to enable support for devices that
@@ -111,7 +107,7 @@ config PCI_PF_STUB
111
107
112
108
config XEN_PCIDEV_FRONTEND
113
109
tristate "Xen PCI Frontend"
114
- depends on PCI && X86 && XEN
110
+ depends on X86 && XEN
115
111
select PCI_XEN
116
112
select XEN_XENBUS_FRONTEND
117
113
default y
@@ -133,7 +129,6 @@ config PCI_BRIDGE_EMUL
133
129
134
130
config PCI_IOV
135
131
bool "PCI IOV support"
136
- depends on PCI
137
132
select PCI_ATS
138
133
help
139
134
I/O Virtualization is a PCI feature supported by some devices
@@ -144,7 +139,6 @@ config PCI_IOV
144
139
145
140
config PCI_PRI
146
141
bool "PCI PRI support"
147
- depends on PCI
148
142
select PCI_ATS
149
143
help
150
144
PRI is the PCI Page Request Interface. It allows PCI devices that are
@@ -154,7 +148,6 @@ config PCI_PRI
154
148
155
149
config PCI_PASID
156
150
bool "PCI PASID support"
157
- depends on PCI
158
151
select PCI_ATS
159
152
help
160
153
Process Address Space Identifiers (PASIDs) can be used by PCI devices
@@ -167,7 +160,7 @@ config PCI_PASID
167
160
168
161
config PCI_P2PDMA
169
162
bool "PCI peer-to-peer transfer support"
170
- depends on PCI && ZONE_DEVICE
163
+ depends on ZONE_DEVICE
171
164
select GENERIC_ALLOCATOR
172
165
help
173
166
Enableѕ drivers to do PCI peer-to-peer transactions to and from
@@ -184,12 +177,11 @@ config PCI_P2PDMA
184
177
185
178
config PCI_LABEL
186
179
def_bool y if (DMI || ACPI)
187
- depends on PCI
188
180
select NLS
189
181
190
182
config PCI_HYPERV
191
183
tristate "Hyper-V PCI Frontend"
192
- depends on PCI && X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
184
+ depends on X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
193
185
help
194
186
The PCI device frontend driver allows the kernel to import arbitrary
195
187
PCI devices from a PCI backend to support PCI driver domains.
@@ -198,3 +190,5 @@ source "drivers/pci/hotplug/Kconfig"
198
190
source "drivers/pci/controller/Kconfig"
199
191
source "drivers/pci/endpoint/Kconfig"
200
192
source "drivers/pci/switch/Kconfig"
193
+
194
+ endif
0 commit comments