2 # Makefile for the PCI bus specific drivers.
5 obj-y
+= access.o bus.o probe.o host-bridge.o remove.o pci.o \
6 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
7 irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o
9 obj-
$(CONFIG_PROC_FS
) += proc.o
10 obj-
$(CONFIG_SYSFS
) += slot.o
12 obj-
$(CONFIG_PCI_QUIRKS
) += quirks.o
14 # Build PCI Express stuff if needed
15 obj-
$(CONFIG_PCIEPORTBUS
) += pcie
/
17 # Build the PCI Hotplug drivers if we were asked to
18 obj-
$(CONFIG_HOTPLUG_PCI
) += hotplug
/
19 ifdef CONFIG_HOTPLUG_PCI
20 obj-y
+= hotplug-pci.o
23 # Build the PCI MSI interrupt support
24 obj-
$(CONFIG_PCI_MSI
) += msi.o
26 # Build the Hypertransport interrupt support
27 obj-
$(CONFIG_HT_IRQ
) += htirq.o
29 obj-
$(CONFIG_PCI_ATS
) += ats.o
30 obj-
$(CONFIG_PCI_IOV
) += iov.o
33 # ACPI Related PCI FW Functions
34 # ACPI _DSM provided firmware instance and string name
36 obj-
$(CONFIG_ACPI
) += pci-acpi.o
38 # SMBIOS provided firmware instance and labels
39 obj-
$(CONFIG_PCI_LABEL
) += pci-label.o
41 # Intel MID platform PM support
42 obj-
$(CONFIG_X86_INTEL_MID
) += pci-mid.o
44 obj-
$(CONFIG_PCI_SYSCALL
) += syscall.o
46 obj-
$(CONFIG_PCI_STUB
) += pci-stub.o
48 obj-
$(CONFIG_PCI_ECAM
) += ecam.o
50 obj-
$(CONFIG_XEN_PCIDEV_FRONTEND
) += xen-pcifront.o
52 obj-
$(CONFIG_OF
) += of.o
54 ccflags-
$(CONFIG_PCI_DEBUG
) := -DDEBUG
56 # PCI host controller drivers