Merge tag 'kvm-s390-master-4.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / drivers / pci / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2#
3# Makefile for the PCI bus specific drivers.
4#
5
9de0eec2 6obj-$(CONFIG_PCI) += access.o bus.o probe.o host-bridge.o remove.o pci.o \
388c8c16 7 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
be0ce12e
MM
8 irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o
9
9de0eec2 10ifdef CONFIG_PCI
1da177e4 11obj-$(CONFIG_PROC_FS) += proc.o
268a03a4 12obj-$(CONFIG_SYSFS) += slot.o
9de0eec2
CP
13obj-$(CONFIG_OF) += of.o
14endif
1da177e4 15
93177a74 16obj-$(CONFIG_PCI_QUIRKS) += quirks.o
e8b553bf 17
52f975ea
MM
18# Build PCI Express stuff if needed
19obj-$(CONFIG_PCIEPORTBUS) += pcie/
20
1da177e4
LT
21# Build the PCI Hotplug drivers if we were asked to
22obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
23
03571e11
EB
24# Build the PCI MSI interrupt support
25obj-$(CONFIG_PCI_MSI) += msi.o
26
db3c33c6 27obj-$(CONFIG_PCI_ATS) += ats.o
d1b054da
YZ
28obj-$(CONFIG_PCI_IOV) += iov.o
29
1da177e4
LT
30#
31# ACPI Related PCI FW Functions
6058989b 32# ACPI _DSM provided firmware instance and string name
1da177e4 33#
8a226e00 34obj-$(CONFIG_ACPI) += pci-acpi.o
1da177e4 35
911e1c9b 36# SMBIOS provided firmware instance and labels
8a226e00 37obj-$(CONFIG_PCI_LABEL) += pci-label.o
911e1c9b 38
5823d089
AS
39# Intel MID platform PM support
40obj-$(CONFIG_X86_INTEL_MID) += pci-mid.o
41
36e23590 42obj-$(CONFIG_PCI_SYSCALL) += syscall.o
1da177e4 43
c70e0d9d
CW
44obj-$(CONFIG_PCI_STUB) += pci-stub.o
45
35ff9477
J
46obj-$(CONFIG_PCI_ECAM) += ecam.o
47
956a9202
RW
48obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
49
350a55e9 50ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
45361a4f
TP
51
52# PCI host controller drivers
53obj-y += host/
080b47de 54obj-y += switch/
9de0eec2
CP
55
56obj-$(CONFIG_PCI_ENDPOINT) += endpoint/
57
58# Endpoint library must be initialized before its users
37dddf14 59obj-$(CONFIG_PCIE_CADENCE) += cadence/
9de0eec2
CP
60# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
61obj-y += dwc/