2005-04-16 15:20:36 -07:00
#
# Makefile for the PCI bus specific drivers.
#
2008-06-10 15:28:50 -06:00
obj-y += access.o bus.o probe.o remove.o pci.o quirks.o slot.o \
2008-08-03 13:02:12 -05:00
pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
irq.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_PROC_FS) += proc.o
2005-12-16 11:08:48 -08:00
# Build PCI Express stuff if needed
obj-$(CONFIG_PCIEPORTBUS) += pcie/
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_HOTPLUG) += hotplug.o
# Build the PCI Hotplug drivers if we were asked to
obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
2008-02-02 22:32:23 +01:00
i f d e f C O N F I G _ H O T P L U G _ P C I
obj-y += hotplug-pci.o
e n d i f
2005-04-16 15:20:36 -07:00
2006-10-04 02:17:00 -07:00
# Build the PCI MSI interrupt support
obj-$(CONFIG_PCI_MSI) += msi.o
2006-10-04 02:17:01 -07:00
# Build the Hypertransport interrupt support
obj-$(CONFIG_HT_IRQ) += htirq.o
2007-10-21 16:41:41 -07:00
# Build Intel IOMMU support
2007-10-21 16:41:49 -07:00
obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
2007-10-21 16:41:41 -07:00
2008-07-10 11:16:40 -07:00
obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
2005-04-16 15:20:36 -07:00
#
# Some architectures use the generic PCI setup functions
#
2005-06-20 14:29:25 -07:00
obj-$(CONFIG_X86) += setup-bus.o
2005-04-16 15:20:36 -07: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
obj-$(CONFIG_PPC32) += setup-irq.o
2008-01-23 23:47:39 -06:00
obj-$(CONFIG_PPC) += setup-bus.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
obj-$(CONFIG_X86_VISWS) += setup-irq.o
2008-02-08 04:19:31 -08:00
obj-$(CONFIG_MN10300) += setup-bus.o
2006-04-10 21:17:48 -05:00
2005-04-16 15:20:36 -07: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 10:54:40 -06:00
obj-$(CONFIG_PCI_SYSCALL) += syscall.o
2005-04-16 15:20:36 -07:00
i f e q ( $( CONFIG_PCI_DEBUG ) , y )
EXTRA_CFLAGS += -DDEBUG
e n d i f