Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the PCI bus specific drivers. | |
3 | # | |
4 | ||
268a03a4 | 5 | obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \ |
388c8c16 JB |
6 | pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \ |
7 | irq.o | |
1da177e4 | 8 | obj-$(CONFIG_PROC_FS) += proc.o |
268a03a4 | 9 | obj-$(CONFIG_SYSFS) += slot.o |
1da177e4 | 10 | |
52f975ea MM |
11 | # Build PCI Express stuff if needed |
12 | obj-$(CONFIG_PCIEPORTBUS) += pcie/ | |
13 | ||
1da177e4 LT |
14 | obj-$(CONFIG_HOTPLUG) += hotplug.o |
15 | ||
16 | # Build the PCI Hotplug drivers if we were asked to | |
17 | obj-$(CONFIG_HOTPLUG_PCI) += hotplug/ | |
4105717b SR |
18 | ifdef CONFIG_HOTPLUG_PCI |
19 | obj-y += hotplug-pci.o | |
20 | endif | |
1da177e4 | 21 | |
03571e11 EB |
22 | # Build the PCI MSI interrupt support |
23 | obj-$(CONFIG_PCI_MSI) += msi.o | |
24 | ||
95d77884 EB |
25 | # Build the Hypertransport interrupt support |
26 | obj-$(CONFIG_HT_IRQ) += htirq.o | |
27 | ||
10e5247f | 28 | # Build Intel IOMMU support |
ba395927 | 29 | obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o |
10e5247f | 30 | |
ad3ad3f6 SS |
31 | obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o |
32 | ||
d1b054da YZ |
33 | obj-$(CONFIG_PCI_IOV) += iov.o |
34 | ||
1da177e4 LT |
35 | # |
36 | # Some architectures use the generic PCI setup functions | |
37 | # | |
43a6b760 | 38 | obj-$(CONFIG_X86) += setup-bus.o |
1da177e4 LT |
39 | obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o |
40 | obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o | |
41 | obj-$(CONFIG_PARISC) += setup-bus.o | |
42 | obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o | |
03a16b27 | 43 | obj-$(CONFIG_PPC) += setup-bus.o |
1da177e4 LT |
44 | obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o |
45 | obj-$(CONFIG_X86_VISWS) += setup-irq.o | |
b920de1b | 46 | obj-$(CONFIG_MN10300) += setup-bus.o |
fd58e55f | 47 | |
1da177e4 LT |
48 | # |
49 | # ACPI Related PCI FW Functions | |
50 | # | |
51 | obj-$(CONFIG_ACPI) += pci-acpi.o | |
52 | ||
53 | # Cardbus & CompactPCI use setup-bus | |
54 | obj-$(CONFIG_HOTPLUG) += setup-bus.o | |
55 | ||
36e23590 | 56 | obj-$(CONFIG_PCI_SYSCALL) += syscall.o |
1da177e4 | 57 | |
c70e0d9d CW |
58 | obj-$(CONFIG_PCI_STUB) += pci-stub.o |
59 | ||
1da177e4 LT |
60 | ifeq ($(CONFIG_PCI_DEBUG),y) |
61 | EXTRA_CFLAGS += -DDEBUG | |
62 | endif |