11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the PCI bus specific drivers. 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 593177a74SRafael J. Wysockiobj-y += access.o bus.o probe.o remove.o pci.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 9268a03a4SAlex Chiangobj-$(CONFIG_SYSFS) += slot.o 101da177e4SLinus Torvalds 1193177a74SRafael J. Wysockiobj-$(CONFIG_PCI_QUIRKS) += quirks.o 1293177a74SRafael J. Wysocki 13e8b553bfSAndi Kleenobj-$(CONFIG_PCI_LEGACY) += legacy.o 14e8b553bfSAndi KleenCFLAGS_legacy.o += -Wno-deprecated-declarations 15e8b553bfSAndi Kleen 1652f975eaSMilton Miller# Build PCI Express stuff if needed 1752f975eaSMilton Millerobj-$(CONFIG_PCIEPORTBUS) += pcie/ 1852f975eaSMilton Miller 19204d49a5SBjorn Helgaasobj-$(CONFIG_PCI_IOAPIC) += ioapic.o 20204d49a5SBjorn Helgaas 211da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += hotplug.o 221da177e4SLinus Torvalds 231da177e4SLinus Torvalds# Build the PCI Hotplug drivers if we were asked to 241da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI) += hotplug/ 254105717bSSam Ravnborgifdef CONFIG_HOTPLUG_PCI 264105717bSSam Ravnborgobj-y += hotplug-pci.o 274105717bSSam Ravnborgendif 281da177e4SLinus Torvalds 2903571e11SEric W. Biederman# Build the PCI MSI interrupt support 3003571e11SEric W. Biedermanobj-$(CONFIG_PCI_MSI) += msi.o 3103571e11SEric W. Biederman 3295d77884SEric W. Biederman# Build the Hypertransport interrupt support 3395d77884SEric W. Biedermanobj-$(CONFIG_HT_IRQ) += htirq.o 3495d77884SEric W. Biederman 3510e5247fSKeshavamurthy, Anil S# Build Intel IOMMU support 36ba395927SKeshavamurthy, Anil Sobj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o 3710e5247fSKeshavamurthy, Anil S 38ad3ad3f6SSuresh Siddhaobj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o 39ad3ad3f6SSuresh Siddha 40d1b054daSYu Zhaoobj-$(CONFIG_PCI_IOV) += iov.o 41d1b054daSYu Zhao 421da177e4SLinus Torvalds# 431da177e4SLinus Torvalds# Some architectures use the generic PCI setup functions 441da177e4SLinus Torvalds# 4543a6b760SAndy Whitcroftobj-$(CONFIG_X86) += setup-bus.o 461da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 471da177e4SLinus Torvaldsobj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 481da177e4SLinus Torvaldsobj-$(CONFIG_PARISC) += setup-bus.o 491da177e4SLinus Torvaldsobj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 5003a16b27SKumar Galaobj-$(CONFIG_PPC) += setup-bus.o 511da177e4SLinus Torvaldsobj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 521da177e4SLinus Torvaldsobj-$(CONFIG_X86_VISWS) += setup-irq.o 53b920de1bSDavid Howellsobj-$(CONFIG_MN10300) += setup-bus.o 54fd58e55fSMark Maule 551da177e4SLinus Torvalds# 561da177e4SLinus Torvalds# ACPI Related PCI FW Functions 571da177e4SLinus Torvalds# 581da177e4SLinus Torvaldsobj-$(CONFIG_ACPI) += pci-acpi.o 591da177e4SLinus Torvalds 601da177e4SLinus Torvalds# Cardbus & CompactPCI use setup-bus 611da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += setup-bus.o 621da177e4SLinus Torvalds 6336e23590SMatthew Wilcoxobj-$(CONFIG_PCI_SYSCALL) += syscall.o 641da177e4SLinus Torvalds 65c70e0d9dSChris Wrightobj-$(CONFIG_PCI_STUB) += pci-stub.o 66c70e0d9dSChris Wright 671da177e4SLinus Torvaldsifeq ($(CONFIG_PCI_DEBUG),y) 681da177e4SLinus TorvaldsEXTRA_CFLAGS += -DDEBUG 691da177e4SLinus Torvaldsendif 70