11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the PCI bus specific drivers. 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 5f46753c5SAlex Chiangobj-y += access.o bus.o probe.o remove.o pci.o quirks.o slot.o \ 6388c8c16SJames Bottomley pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \ 7388c8c16SJames Bottomley irq.o 81da177e4SLinus Torvaldsobj-$(CONFIG_PROC_FS) += proc.o 91da177e4SLinus Torvalds 1052f975eaSMilton Miller# Build PCI Express stuff if needed 1152f975eaSMilton Millerobj-$(CONFIG_PCIEPORTBUS) += pcie/ 1252f975eaSMilton Miller 131da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += hotplug.o 141da177e4SLinus Torvalds 151da177e4SLinus Torvalds# Build the PCI Hotplug drivers if we were asked to 161da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI) += hotplug/ 174105717bSSam Ravnborgifdef CONFIG_HOTPLUG_PCI 184105717bSSam Ravnborgobj-y += hotplug-pci.o 194105717bSSam Ravnborgendif 201da177e4SLinus Torvalds 2103571e11SEric W. Biederman# Build the PCI MSI interrupt support 2203571e11SEric W. Biedermanobj-$(CONFIG_PCI_MSI) += msi.o 2303571e11SEric W. Biederman 2495d77884SEric W. Biederman# Build the Hypertransport interrupt support 2595d77884SEric W. Biedermanobj-$(CONFIG_HT_IRQ) += htirq.o 2695d77884SEric W. Biederman 2710e5247fSKeshavamurthy, Anil S# Build Intel IOMMU support 28ba395927SKeshavamurthy, Anil Sobj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o 2910e5247fSKeshavamurthy, Anil S 30ad3ad3f6SSuresh Siddhaobj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o 31ad3ad3f6SSuresh Siddha 32d1b054daSYu Zhaoobj-$(CONFIG_PCI_IOV) += iov.o 33d1b054daSYu Zhao 341da177e4SLinus Torvalds# 351da177e4SLinus Torvalds# Some architectures use the generic PCI setup functions 361da177e4SLinus Torvalds# 3743a6b760SAndy Whitcroftobj-$(CONFIG_X86) += setup-bus.o 381da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 391da177e4SLinus Torvaldsobj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 401da177e4SLinus Torvaldsobj-$(CONFIG_PARISC) += setup-bus.o 411da177e4SLinus Torvaldsobj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 421da177e4SLinus Torvaldsobj-$(CONFIG_PPC32) += setup-irq.o 4303a16b27SKumar Galaobj-$(CONFIG_PPC) += setup-bus.o 441da177e4SLinus Torvaldsobj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 451da177e4SLinus Torvaldsobj-$(CONFIG_X86_VISWS) += setup-irq.o 46b920de1bSDavid Howellsobj-$(CONFIG_MN10300) += setup-bus.o 47fd58e55fSMark Maule 481da177e4SLinus Torvalds# 491da177e4SLinus Torvalds# ACPI Related PCI FW Functions 501da177e4SLinus Torvalds# 511da177e4SLinus Torvaldsobj-$(CONFIG_ACPI) += pci-acpi.o 521da177e4SLinus Torvalds 531da177e4SLinus Torvalds# Cardbus & CompactPCI use setup-bus 541da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += setup-bus.o 551da177e4SLinus Torvalds 5636e23590SMatthew Wilcoxobj-$(CONFIG_PCI_SYSCALL) += syscall.o 571da177e4SLinus Torvalds 58c70e0d9dSChris Wrightobj-$(CONFIG_PCI_STUB) += pci-stub.o 59c70e0d9dSChris Wright 601da177e4SLinus Torvaldsifeq ($(CONFIG_PCI_DEBUG),y) 611da177e4SLinus TorvaldsEXTRA_CFLAGS += -DDEBUG 621da177e4SLinus Torvaldsendif 63