blob: 716df015f8d017b4a5216f1e34e345bc5b813dd1 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -07009obj-$(CONFIG_HOTPLUG) += hotplug.o
10
11# Build the PCI Hotplug drivers if we were asked to
12obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
13
14#
15# Some architectures use the generic PCI setup functions
16#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070017obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
19obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
20obj-$(CONFIG_PARISC) += setup-bus.o
21obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
22obj-$(CONFIG_PPC32) += setup-irq.o
23obj-$(CONFIG_PPC64) += setup-bus.o
24obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
25obj-$(CONFIG_X86_VISWS) += setup-irq.o
26obj-$(CONFIG_PCI_MSI) += msi.o
27
28#
29# ACPI Related PCI FW Functions
30#
31obj-$(CONFIG_ACPI) += pci-acpi.o
32
33# Cardbus & CompactPCI use setup-bus
34obj-$(CONFIG_HOTPLUG) += setup-bus.o
35
36ifndef CONFIG_X86
37obj-y += syscall.o
38endif
39
40ifeq ($(CONFIG_PCI_DEBUG),y)
41EXTRA_CFLAGS += -DDEBUG
42endif
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044# Build PCI Express stuff if needed
45obj-$(CONFIG_PCIEPORTBUS) += pcie/
46