blob: 87cbf2d5f9b169f8204ba7e61b68ae4d601913a9 [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 \
Adrian Bunk982245f2005-07-17 04:22:20 +02006 pci-driver.o search.o pci-sysfs.o rom.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007obj-$(CONFIG_PROC_FS) += proc.o
8
9ifndef CONFIG_SPARC64
10obj-y += setup-res.o
11endif
12
13obj-$(CONFIG_HOTPLUG) += hotplug.o
14
15# Build the PCI Hotplug drivers if we were asked to
16obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
17
18#
19# Some architectures use the generic PCI setup functions
20#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070021obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070022obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
23obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
24obj-$(CONFIG_PARISC) += setup-bus.o
25obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
26obj-$(CONFIG_PPC32) += setup-irq.o
27obj-$(CONFIG_PPC64) += setup-bus.o
28obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
29obj-$(CONFIG_X86_VISWS) += setup-irq.o
30obj-$(CONFIG_PCI_MSI) += msi.o
31
32#
33# ACPI Related PCI FW Functions
34#
35obj-$(CONFIG_ACPI) += pci-acpi.o
36
37# Cardbus & CompactPCI use setup-bus
38obj-$(CONFIG_HOTPLUG) += setup-bus.o
39
40ifndef CONFIG_X86
41obj-y += syscall.o
42endif
43
44ifeq ($(CONFIG_PCI_DEBUG),y)
45EXTRA_CFLAGS += -DDEBUG
46endif
47
Linus Torvalds1da177e2005-04-16 15:20:36 -070048# Build PCI Express stuff if needed
49obj-$(CONFIG_PCIEPORTBUS) += pcie/
50