blob: 1c409c7b0d567b5bf909a60de6d8db9161b0fd74 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the PCI bus specific drivers.
3#
4
5obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \
David S. Miller085ae412005-08-08 13:19:08 -07006 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007obj-$(CONFIG_PROC_FS) += proc.o
8
Milton Miller52f975e2005-12-16 11:08:48 -08009# Build PCI Express stuff if needed
10obj-$(CONFIG_PCIEPORTBUS) += pcie/
11
Linus Torvalds1da177e2005-04-16 15:20:36 -070012obj-$(CONFIG_HOTPLUG) += hotplug.o
13
14# Build the PCI Hotplug drivers if we were asked to
15obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
Sam Ravnborg41057172008-02-02 22:32:23 +010016ifdef CONFIG_HOTPLUG_PCI
17obj-y += hotplug-pci.o
18endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Eric W. Biederman03571e12006-10-04 02:17:00 -070020# Build the PCI MSI interrupt support
21obj-$(CONFIG_PCI_MSI) += msi.o
22
Eric W. Biederman95d77882006-10-04 02:17:01 -070023# Build the Hypertransport interrupt support
24obj-$(CONFIG_HT_IRQ) += htirq.o
25
Keshavamurthy, Anil S10e52472007-10-21 16:41:41 -070026# Build Intel IOMMU support
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -070027obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
Keshavamurthy, Anil S10e52472007-10-21 16:41:41 -070028
Suresh Siddhaad3ad3f2008-07-10 11:16:40 -070029obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031#
32# Some architectures use the generic PCI setup functions
33#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070034obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070035obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
36obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
37obj-$(CONFIG_PARISC) += setup-bus.o
38obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
39obj-$(CONFIG_PPC32) += setup-irq.o
Kumar Gala03a16b22008-01-23 23:47:39 -060040obj-$(CONFIG_PPC) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070041obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
42obj-$(CONFIG_X86_VISWS) += setup-irq.o
David Howellsb920de12008-02-08 04:19:31 -080043obj-$(CONFIG_MN10300) += setup-bus.o
Mark Maulefd58e552006-04-10 21:17:48 -050044
Linus Torvalds1da177e2005-04-16 15:20:36 -070045#
46# ACPI Related PCI FW Functions
47#
48obj-$(CONFIG_ACPI) += pci-acpi.o
49
50# Cardbus & CompactPCI use setup-bus
51obj-$(CONFIG_HOTPLUG) += setup-bus.o
52
Matthew Wilcox36e23592007-07-10 10:54:40 -060053obj-$(CONFIG_PCI_SYSCALL) += syscall.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070054
55ifeq ($(CONFIG_PCI_DEBUG),y)
56EXTRA_CFLAGS += -DDEBUG
57endif