Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[sfrench/cifs-2.6.git] / drivers / pci / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the PCI bus specific drivers.
4 #
5
6 obj-y           += access.o bus.o probe.o host-bridge.o remove.o pci.o \
7                         pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
8                         irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o
9
10 obj-$(CONFIG_PROC_FS) += proc.o
11 obj-$(CONFIG_SYSFS) += slot.o
12
13 obj-$(CONFIG_PCI_QUIRKS) += quirks.o
14
15 # Build PCI Express stuff if needed
16 obj-$(CONFIG_PCIEPORTBUS) += pcie/
17
18 # Build the PCI Hotplug drivers if we were asked to
19 obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
20 ifdef CONFIG_HOTPLUG_PCI
21 obj-y += hotplug-pci.o
22 endif
23
24 # Build the PCI MSI interrupt support
25 obj-$(CONFIG_PCI_MSI) += msi.o
26
27 # Build the Hypertransport interrupt support
28 obj-$(CONFIG_HT_IRQ) += htirq.o
29
30 obj-$(CONFIG_PCI_ATS) += ats.o
31 obj-$(CONFIG_PCI_IOV) += iov.o
32
33 #
34 # ACPI Related PCI FW Functions
35 # ACPI _DSM provided firmware instance and string name
36 #
37 obj-$(CONFIG_ACPI)    += pci-acpi.o
38
39 # SMBIOS provided firmware instance and labels
40 obj-$(CONFIG_PCI_LABEL) += pci-label.o
41
42 # Intel MID platform PM support
43 obj-$(CONFIG_X86_INTEL_MID) += pci-mid.o
44
45 obj-$(CONFIG_PCI_SYSCALL) += syscall.o
46
47 obj-$(CONFIG_PCI_STUB) += pci-stub.o
48
49 obj-$(CONFIG_PCI_ECAM) += ecam.o
50
51 obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
52
53 obj-$(CONFIG_OF) += of.o
54
55 ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
56
57 # PCI host controller drivers
58 obj-y += host/
59 obj-y += switch/