blob: 6707df9689345926ead7ed90b5f6726de6620de5 [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/
16
17#
18# Some architectures use the generic PCI setup functions
19#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070020obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070021obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
22obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
23obj-$(CONFIG_PARISC) += setup-bus.o
24obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
25obj-$(CONFIG_PPC32) += setup-irq.o
26obj-$(CONFIG_PPC64) += setup-bus.o
27obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
28obj-$(CONFIG_X86_VISWS) += setup-irq.o
29obj-$(CONFIG_PCI_MSI) += msi.o
30
31#
32# ACPI Related PCI FW Functions
33#
34obj-$(CONFIG_ACPI) += pci-acpi.o
35
36# Cardbus & CompactPCI use setup-bus
37obj-$(CONFIG_HOTPLUG) += setup-bus.o
38
39ifndef CONFIG_X86
40obj-y += syscall.o
41endif
42
43ifeq ($(CONFIG_PCI_DEBUG),y)
44EXTRA_CFLAGS += -DDEBUG
45endif