2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# Makefile for the PCI bus specific drivers.
|
|
|
|
#
|
|
|
|
|
2009-06-18 05:03:57 +04:00
|
|
|
obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \
|
2008-08-03 22:02:12 +04:00
|
|
|
pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
|
|
|
|
irq.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_PROC_FS) += proc.o
|
2009-06-18 05:03:57 +04:00
|
|
|
obj-$(CONFIG_SYSFS) += slot.o
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2009-07-24 13:41:15 +04:00
|
|
|
obj-$(CONFIG_PCI_LEGACY) += legacy.o
|
|
|
|
CFLAGS_legacy.o += -Wno-deprecated-declarations
|
|
|
|
|
2005-12-16 22:08:48 +03:00
|
|
|
# Build PCI Express stuff if needed
|
|
|
|
obj-$(CONFIG_PCIEPORTBUS) += pcie/
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_HOTPLUG) += hotplug.o
|
|
|
|
|
|
|
|
# Build the PCI Hotplug drivers if we were asked to
|
|
|
|
obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
|
2008-02-03 00:32:23 +03:00
|
|
|
ifdef CONFIG_HOTPLUG_PCI
|
|
|
|
obj-y += hotplug-pci.o
|
|
|
|
endif
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2006-10-04 13:17:00 +04:00
|
|
|
# Build the PCI MSI interrupt support
|
|
|
|
obj-$(CONFIG_PCI_MSI) += msi.o
|
|
|
|
|
2006-10-04 13:17:01 +04:00
|
|
|
# Build the Hypertransport interrupt support
|
|
|
|
obj-$(CONFIG_HT_IRQ) += htirq.o
|
|
|
|
|
2007-10-22 03:41:41 +04:00
|
|
|
# Build Intel IOMMU support
|
2007-10-22 03:41:49 +04:00
|
|
|
obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
|
2007-10-22 03:41:41 +04:00
|
|
|
|
2008-07-10 22:16:40 +04:00
|
|
|
obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
|
|
|
|
|
2009-03-20 06:25:11 +03:00
|
|
|
obj-$(CONFIG_PCI_IOV) += iov.o
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# Some architectures use the generic PCI setup functions
|
|
|
|
#
|
2005-06-21 01:29:25 +04:00
|
|
|
obj-$(CONFIG_X86) += setup-bus.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
|
|
|
|
obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
|
|
|
|
obj-$(CONFIG_PARISC) += setup-bus.o
|
|
|
|
obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
|
2008-01-24 08:47:39 +03:00
|
|
|
obj-$(CONFIG_PPC) += setup-bus.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
|
|
|
|
obj-$(CONFIG_X86_VISWS) += setup-irq.o
|
2008-02-08 15:19:31 +03:00
|
|
|
obj-$(CONFIG_MN10300) += setup-bus.o
|
2006-04-11 06:17:48 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# ACPI Related PCI FW Functions
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_ACPI) += pci-acpi.o
|
|
|
|
|
|
|
|
# Cardbus & CompactPCI use setup-bus
|
|
|
|
obj-$(CONFIG_HOTPLUG) += setup-bus.o
|
|
|
|
|
2007-07-10 20:54:40 +04:00
|
|
|
obj-$(CONFIG_PCI_SYSCALL) += syscall.o
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2008-11-26 08:17:13 +03:00
|
|
|
obj-$(CONFIG_PCI_STUB) += pci-stub.o
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
ifeq ($(CONFIG_PCI_DEBUG),y)
|
|
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
|
|
endif
|