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 32db3c33c6SJoerg Roedelobj-$(CONFIG_PCI_ATS) += ats.o 33d1b054daSYu Zhaoobj-$(CONFIG_PCI_IOV) += iov.o 34d1b054daSYu Zhao 351da177e4SLinus Torvalds# 361da177e4SLinus Torvalds# Some architectures use the generic PCI setup functions 371da177e4SLinus Torvalds# 3843a6b760SAndy Whitcroftobj-$(CONFIG_X86) += setup-bus.o 391da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 401da177e4SLinus Torvaldsobj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 41700598ceSGuanXuetaoobj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o 421da177e4SLinus Torvaldsobj-$(CONFIG_PARISC) += setup-bus.o 431da177e4SLinus Torvaldsobj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 4403a16b27SKumar Galaobj-$(CONFIG_PPC) += setup-bus.o 451da177e4SLinus Torvaldsobj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 461da177e4SLinus Torvaldsobj-$(CONFIG_X86_VISWS) += setup-irq.o 47b920de1bSDavid Howellsobj-$(CONFIG_MN10300) += setup-bus.o 48a6475c13SMichal Simekobj-$(CONFIG_MICROBLAZE) += setup-bus.o 49f02cbbe6SChris Metcalfobj-$(CONFIG_TILE) += setup-bus.o setup-irq.o 5026893c13SDaniel Hellstromobj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o 51fd58e55fSMark Maule 521da177e4SLinus Torvalds# 531da177e4SLinus Torvalds# ACPI Related PCI FW Functions 546058989bSNarendra_K@Dell.com# ACPI _DSM provided firmware instance and string name 551da177e4SLinus Torvalds# 568a226e00SRandy Dunlapobj-$(CONFIG_ACPI) += pci-acpi.o 571da177e4SLinus Torvalds 58911e1c9bSNarendra K# SMBIOS provided firmware instance and labels 598a226e00SRandy Dunlapobj-$(CONFIG_PCI_LABEL) += pci-label.o 60911e1c9bSNarendra K 611da177e4SLinus Torvalds# Cardbus & CompactPCI use setup-bus 621da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG) += setup-bus.o 631da177e4SLinus Torvalds 6436e23590SMatthew Wilcoxobj-$(CONFIG_PCI_SYSCALL) += syscall.o 651da177e4SLinus Torvalds 66c70e0d9dSChris Wrightobj-$(CONFIG_PCI_STUB) += pci-stub.o 67c70e0d9dSChris Wright 68956a9202SRyan Wilsonobj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o 69956a9202SRyan Wilson 7098d9f30cSBenjamin Herrenschmidtobj-$(CONFIG_OF) += of.o 7198d9f30cSBenjamin Herrenschmidt 72350a55e9Smatt mooneyccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG 73