blob: af3bfe22847bf00fdd5eec95ffb44ad8e8738c26 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the PCI bus specific drivers.
3#
4
Alex Chiangf46753c2008-06-10 15:28:50 -06005obj-y += access.o bus.o probe.o remove.o pci.o quirks.o slot.o \
James Bottomley388c8c12008-08-03 13:02:12 -05006 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
7 irq.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-$(CONFIG_PROC_FS) += proc.o
9
Milton Miller52f975e2005-12-16 11:08:48 -080010# Build PCI Express stuff if needed
11obj-$(CONFIG_PCIEPORTBUS) += pcie/
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013obj-$(CONFIG_HOTPLUG) += hotplug.o
14
15# Build the PCI Hotplug drivers if we were asked to
16obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
Sam Ravnborg41057172008-02-02 22:32:23 +010017ifdef CONFIG_HOTPLUG_PCI
18obj-y += hotplug-pci.o
19endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Eric W. Biederman03571e12006-10-04 02:17:00 -070021# Build the PCI MSI interrupt support
22obj-$(CONFIG_PCI_MSI) += msi.o
23
Eric W. Biederman95d77882006-10-04 02:17:01 -070024# Build the Hypertransport interrupt support
25obj-$(CONFIG_HT_IRQ) += htirq.o
26
Keshavamurthy, Anil S10e52472007-10-21 16:41:41 -070027# Build Intel IOMMU support
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -070028obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
Keshavamurthy, Anil S10e52472007-10-21 16:41:41 -070029
Suresh Siddhaad3ad3f2008-07-10 11:16:40 -070030obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
31
Linus Torvalds1da177e2005-04-16 15:20:36 -070032#
33# Some architectures use the generic PCI setup functions
34#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070035obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070036obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
37obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
38obj-$(CONFIG_PARISC) += setup-bus.o
39obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
40obj-$(CONFIG_PPC32) += setup-irq.o
Kumar Gala03a16b22008-01-23 23:47:39 -060041obj-$(CONFIG_PPC) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
43obj-$(CONFIG_X86_VISWS) += setup-irq.o
David Howellsb920de12008-02-08 04:19:31 -080044obj-$(CONFIG_MN10300) += setup-bus.o
Mark Maulefd58e552006-04-10 21:17:48 -050045
Linus Torvalds1da177e2005-04-16 15:20:36 -070046#
47# ACPI Related PCI FW Functions
48#
49obj-$(CONFIG_ACPI) += pci-acpi.o
50
51# Cardbus & CompactPCI use setup-bus
52obj-$(CONFIG_HOTPLUG) += setup-bus.o
53
Matthew Wilcox36e23592007-07-10 10:54:40 -060054obj-$(CONFIG_PCI_SYSCALL) += syscall.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
56ifeq ($(CONFIG_PCI_DEBUG),y)
57EXTRA_CFLAGS += -DDEBUG
58endif