blob: 006054a409958a5f7617f9b1713a0eced9381d68 [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
Eric W. Biederman03571e12006-10-04 02:17:00 -070017# Build the PCI MSI interrupt support
18obj-$(CONFIG_PCI_MSI) += msi.o
19
Eric W. Biederman95d77882006-10-04 02:17:01 -070020# Build the Hypertransport interrupt support
21obj-$(CONFIG_HT_IRQ) += htirq.o
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#
24# Some architectures use the generic PCI setup functions
25#
Andy Whitcroft43a6b762005-06-20 14:29:25 -070026obj-$(CONFIG_X86) += setup-bus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070027obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
28obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
29obj-$(CONFIG_PARISC) += setup-bus.o
30obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
31obj-$(CONFIG_PPC32) += setup-irq.o
32obj-$(CONFIG_PPC64) += setup-bus.o
33obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
34obj-$(CONFIG_X86_VISWS) += setup-irq.o
Mark Maulefd58e552006-04-10 21:17:48 -050035
Linus Torvalds1da177e2005-04-16 15:20:36 -070036#
37# ACPI Related PCI FW Functions
38#
39obj-$(CONFIG_ACPI) += pci-acpi.o
40
41# Cardbus & CompactPCI use setup-bus
42obj-$(CONFIG_HOTPLUG) += setup-bus.o
43
Matthew Wilcox36e23592007-07-10 10:54:40 -060044obj-$(CONFIG_PCI_SYSCALL) += syscall.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070045
46ifeq ($(CONFIG_PCI_DEBUG),y)
47EXTRA_CFLAGS += -DDEBUG
48endif