xref: /openbmc/linux/drivers/pci/Makefile (revision 080b47de)
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 \
7425c1b22SAlex Williamson			irq.o vpd.o setup-bus.o vc.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
161da177e4SLinus Torvalds# Build the PCI Hotplug drivers if we were asked to
171da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI) += hotplug/
184105717bSSam Ravnborgifdef CONFIG_HOTPLUG_PCI
194105717bSSam Ravnborgobj-y += hotplug-pci.o
204105717bSSam Ravnborgendif
211da177e4SLinus Torvalds
2203571e11SEric W. Biederman# Build the PCI MSI interrupt support
2303571e11SEric W. Biedermanobj-$(CONFIG_PCI_MSI) += msi.o
2403571e11SEric W. Biederman
2595d77884SEric W. Biederman# Build the Hypertransport interrupt support
2695d77884SEric W. Biedermanobj-$(CONFIG_HT_IRQ) += htirq.o
2795d77884SEric W. Biederman
28db3c33c6SJoerg Roedelobj-$(CONFIG_PCI_ATS) += ats.o
29d1b054daSYu Zhaoobj-$(CONFIG_PCI_IOV) += iov.o
30d1b054daSYu Zhao
311da177e4SLinus Torvalds#
321da177e4SLinus Torvalds# Some architectures use the generic PCI setup functions
331da177e4SLinus Torvalds#
3439656f29SLiviu Dudauobj-$(CONFIG_ALPHA) += setup-irq.o
35c1678ffcSJoao Pintoobj-$(CONFIG_ARC) += setup-irq.o
3639656f29SLiviu Dudauobj-$(CONFIG_ARM) += setup-irq.o
37459a0772SJayachandran Cobj-$(CONFIG_ARM64) += setup-irq.o
3839656f29SLiviu Dudauobj-$(CONFIG_UNICORE32) += setup-irq.o
3939656f29SLiviu Dudauobj-$(CONFIG_SUPERH) += setup-irq.o
4039656f29SLiviu Dudauobj-$(CONFIG_MIPS) += setup-irq.o
4139656f29SLiviu Dudauobj-$(CONFIG_TILE) += setup-irq.o
4239656f29SLiviu Dudauobj-$(CONFIG_SPARC_LEON) += setup-irq.o
4339656f29SLiviu Dudauobj-$(CONFIG_M68K) += setup-irq.o
44fd58e55fSMark Maule
451da177e4SLinus Torvalds#
461da177e4SLinus Torvalds# ACPI Related PCI FW Functions
476058989bSNarendra_K@Dell.com# ACPI _DSM provided firmware instance and string name
481da177e4SLinus Torvalds#
498a226e00SRandy Dunlapobj-$(CONFIG_ACPI)    += pci-acpi.o
501da177e4SLinus Torvalds
51911e1c9bSNarendra K# SMBIOS provided firmware instance and labels
528a226e00SRandy Dunlapobj-$(CONFIG_PCI_LABEL) += pci-label.o
53911e1c9bSNarendra K
545823d089SAndy Shevchenko# Intel MID platform PM support
555823d089SAndy Shevchenkoobj-$(CONFIG_X86_INTEL_MID) += pci-mid.o
565823d089SAndy Shevchenko
5736e23590SMatthew Wilcoxobj-$(CONFIG_PCI_SYSCALL) += syscall.o
581da177e4SLinus Torvalds
59c70e0d9dSChris Wrightobj-$(CONFIG_PCI_STUB) += pci-stub.o
60c70e0d9dSChris Wright
6135ff9477SJayachandran Cobj-$(CONFIG_PCI_ECAM) += ecam.o
6235ff9477SJayachandran C
63956a9202SRyan Wilsonobj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
64956a9202SRyan Wilson
6598d9f30cSBenjamin Herrenschmidtobj-$(CONFIG_OF) += of.o
6698d9f30cSBenjamin Herrenschmidt
67350a55e9Smatt mooneyccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
6845361a4fSThomas Petazzoni
6945361a4fSThomas Petazzoni# PCI host controller drivers
7045361a4fSThomas Petazzoniobj-y += host/
71080b47deSLogan Gunthorpeobj-y += switch/
72