xref: /openbmc/linux/drivers/pci/Makefile (revision 45361a4f)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the PCI bus specific drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5610929e1SYinghai Luobj-y		+= access.o bus.o probe.o host-bridge.o remove.o pci.o \
6388c8c16SJames Bottomley			pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
77dc30303SBill Pemberton			irq.o vpd.o setup-bus.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 Torvalds# Build the PCI Hotplug drivers if we were asked to
191da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI) += hotplug/
204105717bSSam Ravnborgifdef CONFIG_HOTPLUG_PCI
214105717bSSam Ravnborgobj-y += hotplug-pci.o
224105717bSSam Ravnborgendif
231da177e4SLinus Torvalds
2403571e11SEric W. Biederman# Build the PCI MSI interrupt support
2503571e11SEric W. Biedermanobj-$(CONFIG_PCI_MSI) += msi.o
2603571e11SEric W. Biederman
2795d77884SEric W. Biederman# Build the Hypertransport interrupt support
2895d77884SEric W. Biedermanobj-$(CONFIG_HT_IRQ) += htirq.o
2995d77884SEric W. Biederman
30db3c33c6SJoerg Roedelobj-$(CONFIG_PCI_ATS) += ats.o
31d1b054daSYu Zhaoobj-$(CONFIG_PCI_IOV) += iov.o
32d1b054daSYu Zhao
331da177e4SLinus Torvalds#
341da177e4SLinus Torvalds# Some architectures use the generic PCI setup functions
351da177e4SLinus Torvalds#
3643a6b760SAndy Whitcroftobj-$(CONFIG_X86) += setup-bus.o
371da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
381da177e4SLinus Torvaldsobj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
39700598ceSGuanXuetaoobj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o
401da177e4SLinus Torvaldsobj-$(CONFIG_PARISC) += setup-bus.o
411da177e4SLinus Torvaldsobj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
4203a16b27SKumar Galaobj-$(CONFIG_PPC) += setup-bus.o
43cd0a2bfbSPaul Gortmakerobj-$(CONFIG_FRV) += 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
47a6475c13SMichal Simekobj-$(CONFIG_MICROBLAZE) += setup-bus.o
48f02cbbe6SChris Metcalfobj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
4926893c13SDaniel Hellstromobj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
50486ae3eaSGreg Ungererobj-$(CONFIG_M68K) += 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
6136e23590SMatthew Wilcoxobj-$(CONFIG_PCI_SYSCALL) += syscall.o
621da177e4SLinus Torvalds
63c70e0d9dSChris Wrightobj-$(CONFIG_PCI_STUB) += pci-stub.o
64c70e0d9dSChris Wright
65956a9202SRyan Wilsonobj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
66956a9202SRyan Wilson
6798d9f30cSBenjamin Herrenschmidtobj-$(CONFIG_OF) += of.o
6898d9f30cSBenjamin Herrenschmidt
69350a55e9Smatt mooneyccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
7045361a4fSThomas Petazzoni
7145361a4fSThomas Petazzoni# PCI host controller drivers
7245361a4fSThomas Petazzoniobj-y += host/
73