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 \ 7b55ac1b2SMatt Carlson irq.o vpd.o 81da177e4SLinus Torvaldsobj-$(CONFIG_PROC_FS) += proc.o 9268a03a4SAlex Chiangobj-$(CONFIG_SYSFS) += slot.o 101da177e4SLinus Torvalds 1193177a74SRafael J. Wysockiobj-$(CONFIG_PCI_QUIRKS) += quirks.o 12e8b553bfSAndi Kleen 1352f975eaSMilton Miller# Build PCI Express stuff if needed 1452f975eaSMilton Millerobj-$(CONFIG_PCIEPORTBUS) += pcie/ 1552f975eaSMilton Miller 16204d49a5SBjorn Helgaasobj-$(CONFIG_PCI_IOAPIC) += ioapic.o 17204d49a5SBjorn Helgaas 181da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += hotplug.o 191da177e4SLinus Torvalds 201da177e4SLinus Torvalds# Build the PCI Hotplug drivers if we were asked to 211da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI) += hotplug/ 224105717bSSam Ravnborgifdef CONFIG_HOTPLUG_PCI 234105717bSSam Ravnborgobj-y += hotplug-pci.o 244105717bSSam Ravnborgendif 251da177e4SLinus Torvalds 2603571e11SEric W. Biederman# Build the PCI MSI interrupt support 2703571e11SEric W. Biedermanobj-$(CONFIG_PCI_MSI) += msi.o 2803571e11SEric W. Biederman 2995d77884SEric W. Biederman# Build the Hypertransport interrupt support 3095d77884SEric W. Biedermanobj-$(CONFIG_HT_IRQ) += htirq.o 3195d77884SEric W. Biederman 3210e5247fSKeshavamurthy, Anil S# Build Intel IOMMU support 33ba395927SKeshavamurthy, Anil Sobj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o 3410e5247fSKeshavamurthy, Anil S 35ad3ad3f6SSuresh Siddhaobj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o 36ad3ad3f6SSuresh Siddha 37d1b054daSYu Zhaoobj-$(CONFIG_PCI_IOV) += iov.o 38d1b054daSYu Zhao 391da177e4SLinus Torvalds# 401da177e4SLinus Torvalds# Some architectures use the generic PCI setup functions 411da177e4SLinus Torvalds# 4243a6b760SAndy Whitcroftobj-$(CONFIG_X86) += setup-bus.o 431da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 441da177e4SLinus Torvaldsobj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 45700598ceSGuanXuetaoobj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o 461da177e4SLinus Torvaldsobj-$(CONFIG_PARISC) += setup-bus.o 471da177e4SLinus Torvaldsobj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 4803a16b27SKumar Galaobj-$(CONFIG_PPC) += setup-bus.o 491da177e4SLinus Torvaldsobj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 501da177e4SLinus Torvaldsobj-$(CONFIG_X86_VISWS) += setup-irq.o 51b920de1bSDavid Howellsobj-$(CONFIG_MN10300) += setup-bus.o 52a6475c13SMichal Simekobj-$(CONFIG_MICROBLAZE) += setup-bus.o 53f02cbbe6SChris Metcalfobj-$(CONFIG_TILE) += setup-bus.o setup-irq.o 5426893c13SDaniel Hellstromobj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o 55fd58e55fSMark Maule 561da177e4SLinus Torvalds# 571da177e4SLinus Torvalds# ACPI Related PCI FW Functions 586058989bSNarendra_K@Dell.com# ACPI _DSM provided firmware instance and string name 591da177e4SLinus Torvalds# 608a226e00SRandy Dunlapobj-$(CONFIG_ACPI) += pci-acpi.o 611da177e4SLinus Torvalds 62911e1c9bSNarendra K# SMBIOS provided firmware instance and labels 638a226e00SRandy Dunlapobj-$(CONFIG_PCI_LABEL) += pci-label.o 64911e1c9bSNarendra K 651da177e4SLinus Torvalds# Cardbus & CompactPCI use setup-bus 661da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += setup-bus.o 671da177e4SLinus Torvalds 6836e23590SMatthew Wilcoxobj-$(CONFIG_PCI_SYSCALL) += syscall.o 691da177e4SLinus Torvalds 70c70e0d9dSChris Wrightobj-$(CONFIG_PCI_STUB) += pci-stub.o 71c70e0d9dSChris Wright 72956a9202SRyan Wilsonobj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o 73956a9202SRyan Wilson 74350a55e9Smatt mooneyccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG 75