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