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 32# 33# Some architectures use the generic PCI setup functions 34# 35obj-$(CONFIG_X86) += setup-bus.o 36obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 37obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 38obj-$(CONFIG_PARISC) += setup-bus.o 39obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 40obj-$(CONFIG_PPC32) += setup-irq.o 41obj-$(CONFIG_PPC) += setup-bus.o 42obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 43obj-$(CONFIG_X86_VISWS) += setup-irq.o 44obj-$(CONFIG_MN10300) += setup-bus.o 45 46# 47# ACPI Related PCI FW Functions 48# 49obj-$(CONFIG_ACPI) += pci-acpi.o 50 51# Cardbus & CompactPCI use setup-bus 52obj-$(CONFIG_HOTPLUG) += setup-bus.o 53 54obj-$(CONFIG_PCI_SYSCALL) += syscall.o 55 56obj-$(CONFIG_PCI_STUB) += pci-stub.o 57 58ifeq ($(CONFIG_PCI_DEBUG),y) 59EXTRA_CFLAGS += -DDEBUG 60endif 61