blob: 094308e41be558b525a2198b3c7ee98cddc82359 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the PCI bus specific drivers.
3#
4
Rafael J. Wysocki93177a72010-01-02 22:57:24 +01005obj-y += access.o bus.o probe.o remove.o pci.o \
James Bottomley388c8c12008-08-03 13:02:12 -05006 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
Matt Carlsonb55ac1b2010-02-26 14:04:41 +00007 irq.o vpd.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-$(CONFIG_PROC_FS) += proc.o
Alex Chiang268a03a2009-06-17 19:03:57 -06009obj-$(CONFIG_SYSFS) += slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Rafael J. Wysocki93177a72010-01-02 22:57:24 +010011obj-$(CONFIG_PCI_QUIRKS) += quirks.o
Andi Kleene8b553b2009-07-24 11:41:15 +020012
Milton Miller52f975e2005-12-16 11:08:48 -080013# Build PCI Express stuff if needed
14obj-$(CONFIG_PCIEPORTBUS) += pcie/
15
Bjorn Helgaas204d49a2009-10-26 11:20:47 -060016obj-$(CONFIG_PCI_IOAPIC) += ioapic.o
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_HOTPLUG) += hotplug.o
19
20# Build the PCI Hotplug drivers if we were asked to
21obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
Sam Ravnborg41057172008-02-02 22:32:23 +010022ifdef CONFIG_HOTPLUG_PCI
23obj-y += hotplug-pci.o
24endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Eric W. Biederman03571e12006-10-04 02:17:00 -070026# Build the PCI MSI interrupt support
27obj-$(CONFIG_PCI_MSI) += msi.o
28
Eric W. Biederman95d77882006-10-04 02:17:01 -070029# Build the Hypertransport interrupt support
30obj-$(CONFIG_HT_IRQ) += htirq.o
31
Keshavamurthy, Anil S10e52472007-10-21 16:41:41 -070032# Build Intel IOMMU support
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -070033obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
Keshavamurthy, Anil S10e52472007-10-21 16:41:41 -070034
Suresh Siddhaad3ad3f2008-07-10 11:16:40 -070035obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
36
Yu Zhaod1b054d2009-03-20 11:25:11 +080037obj-$(CONFIG_PCI_IOV) += iov.o
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039#
40# Some architectures use the generic PCI setup functions
41#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070042obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070043obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
44obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
GuanXuetao700598c2011-01-15 18:25:14 +080045obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-$(CONFIG_PARISC) += setup-bus.o
47obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
Kumar Gala03a16b22008-01-23 23:47:39 -060048obj-$(CONFIG_PPC) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070049obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
50obj-$(CONFIG_X86_VISWS) += setup-irq.o
David Howellsb920de12008-02-08 04:19:31 -080051obj-$(CONFIG_MN10300) += setup-bus.o
Michal Simeka6475c12010-01-18 15:27:10 +010052obj-$(CONFIG_MICROBLAZE) += setup-bus.o
Chris Metcalff02cbbe2010-11-02 12:05:10 -040053obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
Daniel Hellstrom26893c12011-05-23 21:04:47 +000054obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
Mark Maulefd58e552006-04-10 21:17:48 -050055
Linus Torvalds1da177e2005-04-16 15:20:36 -070056#
57# ACPI Related PCI FW Functions
Narendra_K@Dell.com60589892011-03-02 22:34:17 +053058# ACPI _DSM provided firmware instance and string name
Linus Torvalds1da177e2005-04-16 15:20:36 -070059#
Randy Dunlap8a226e02011-03-29 09:45:57 -070060obj-$(CONFIG_ACPI) += pci-acpi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070061
Narendra K911e1c92010-07-26 05:56:50 -050062# SMBIOS provided firmware instance and labels
Randy Dunlap8a226e02011-03-29 09:45:57 -070063obj-$(CONFIG_PCI_LABEL) += pci-label.o
Narendra K911e1c92010-07-26 05:56:50 -050064
Linus Torvalds1da177e2005-04-16 15:20:36 -070065# Cardbus & CompactPCI use setup-bus
66obj-$(CONFIG_HOTPLUG) += setup-bus.o
67
Matthew Wilcox36e23592007-07-10 10:54:40 -060068obj-$(CONFIG_PCI_SYSCALL) += syscall.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070069
Chris Wrightc70e0d92008-11-25 21:17:13 -080070obj-$(CONFIG_PCI_STUB) += pci-stub.o
71
Ryan Wilson956a9202010-08-02 21:31:05 -040072obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
73
matt mooney350a55e2010-09-24 12:17:26 -070074ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG