blob: 1fa6925733d31bacc6118fc20f36e65c12ad3f8c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the PCI bus specific drivers.
3#
4
Yinghai Lu610929e2012-04-02 18:31:53 -07005obj-y += access.o bus.o probe.o host-bridge.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 \
Alex Williamson425c1b22013-12-17 16:43:51 -07007 irq.o vpd.o setup-bus.o vc.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
Linus Torvalds1da177e2005-04-16 15:20:36 -070016# Build the PCI Hotplug drivers if we were asked to
17obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
Sam Ravnborg41057172008-02-02 22:32:23 +010018ifdef CONFIG_HOTPLUG_PCI
19obj-y += hotplug-pci.o
20endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Eric W. Biederman03571e12006-10-04 02:17:00 -070022# Build the PCI MSI interrupt support
23obj-$(CONFIG_PCI_MSI) += msi.o
24
Eric W. Biederman95d77882006-10-04 02:17:01 -070025# Build the Hypertransport interrupt support
26obj-$(CONFIG_HT_IRQ) += htirq.o
27
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020028obj-$(CONFIG_PCI_ATS) += ats.o
Yu Zhaod1b054d2009-03-20 11:25:11 +080029obj-$(CONFIG_PCI_IOV) += iov.o
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031#
32# Some architectures use the generic PCI setup functions
33#
Liviu Dudau39656f22014-02-03 17:38:36 +000034obj-$(CONFIG_ALPHA) += setup-irq.o
Joao Pintoc1678ff2016-03-10 14:44:13 -060035obj-$(CONFIG_ARC) += setup-irq.o
Liviu Dudau39656f22014-02-03 17:38:36 +000036obj-$(CONFIG_ARM) += setup-irq.o
Jayachandran C459a0772015-08-05 02:23:39 +053037obj-$(CONFIG_ARM64) += setup-irq.o
Liviu Dudau39656f22014-02-03 17:38:36 +000038obj-$(CONFIG_UNICORE32) += setup-irq.o
39obj-$(CONFIG_SUPERH) += setup-irq.o
40obj-$(CONFIG_MIPS) += setup-irq.o
Liviu Dudau39656f22014-02-03 17:38:36 +000041obj-$(CONFIG_TILE) += setup-irq.o
42obj-$(CONFIG_SPARC_LEON) += setup-irq.o
43obj-$(CONFIG_M68K) += setup-irq.o
Mark Maulefd58e552006-04-10 21:17:48 -050044
Linus Torvalds1da177e2005-04-16 15:20:36 -070045#
46# ACPI Related PCI FW Functions
Narendra_K@Dell.com60589892011-03-02 22:34:17 +053047# ACPI _DSM provided firmware instance and string name
Linus Torvalds1da177e2005-04-16 15:20:36 -070048#
Randy Dunlap8a226e02011-03-29 09:45:57 -070049obj-$(CONFIG_ACPI) += pci-acpi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
Narendra K911e1c92010-07-26 05:56:50 -050051# SMBIOS provided firmware instance and labels
Randy Dunlap8a226e02011-03-29 09:45:57 -070052obj-$(CONFIG_PCI_LABEL) += pci-label.o
Narendra K911e1c92010-07-26 05:56:50 -050053
Matthew Wilcox36e23592007-07-10 10:54:40 -060054obj-$(CONFIG_PCI_SYSCALL) += syscall.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
Chris Wrightc70e0d92008-11-25 21:17:13 -080056obj-$(CONFIG_PCI_STUB) += pci-stub.o
57
Jayachandran C35ff9472016-05-10 17:19:51 +020058obj-$(CONFIG_PCI_ECAM) += ecam.o
59
Ryan Wilson956a9202010-08-02 21:31:05 -040060obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
61
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100062obj-$(CONFIG_OF) += of.o
63
matt mooney350a55e2010-09-24 12:17:26 -070064ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
Thomas Petazzoni45361a42013-05-16 17:55:22 +020065
66# PCI host controller drivers
67obj-y += host/