2005-04-16 16:20:36 -06:00
|
|
|
#
|
|
|
|
# Makefile for the PCI bus specific drivers.
|
|
|
|
#
|
|
|
|
|
2012-04-02 19:31:53 -06:00
|
|
|
obj-y += access.o bus.o probe.o host-bridge.o remove.o pci.o \
|
2008-08-03 12:02:12 -06:00
|
|
|
pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
|
2010-02-26 07:04:41 -07:00
|
|
|
irq.o vpd.o
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_PROC_FS) += proc.o
|
2009-06-17 19:03:57 -06:00
|
|
|
obj-$(CONFIG_SYSFS) += slot.o
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2010-01-02 14:57:24 -07:00
|
|
|
obj-$(CONFIG_PCI_QUIRKS) += quirks.o
|
2009-07-24 03:41:15 -06:00
|
|
|
|
2005-12-16 12:08:48 -07:00
|
|
|
# Build PCI Express stuff if needed
|
|
|
|
obj-$(CONFIG_PCIEPORTBUS) += pcie/
|
|
|
|
|
PCI hotplug: move IOAPIC support from acpiphp to ioapic driver
This patch moves PCI I/O APIC support from acpiphp to a separate driver.
Like pciehp and shpchp, acpiphp handles PCI hotplug, i.e., addition and
removal of PCI adapters. But in addition, acpiphp handles some ACPI
hotplug, such as the addition of new host bridges, and the I/O APIC
support was tangled up with that.
I don't think the I/O APIC support needs to be in acpiphp; PCI I/O APICs
usually appear as a function on a PCI host bridge, and we'll enumerate the
APIC before any of the devices behind the bridge that use it.
As far as I know, nobody actually uses I/O APIC hotplug. It depends on
acpi_register_ioapic(), which is only implemented for ia64, and I don't
think any vendors have supported I/O chassis hotplug yet.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
CC: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
CC: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-10-26 11:20:47 -06:00
|
|
|
obj-$(CONFIG_PCI_IOAPIC) += ioapic.o
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_HOTPLUG) += hotplug.o
|
|
|
|
|
|
|
|
# Build the PCI Hotplug drivers if we were asked to
|
|
|
|
obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
|
2008-02-02 14:32:23 -07:00
|
|
|
ifdef CONFIG_HOTPLUG_PCI
|
|
|
|
obj-y += hotplug-pci.o
|
|
|
|
endif
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2006-10-04 03:17:00 -06:00
|
|
|
# Build the PCI MSI interrupt support
|
|
|
|
obj-$(CONFIG_PCI_MSI) += msi.o
|
|
|
|
|
2006-10-04 03:17:01 -06:00
|
|
|
# Build the Hypertransport interrupt support
|
|
|
|
obj-$(CONFIG_HT_IRQ) += htirq.o
|
|
|
|
|
2011-09-27 07:57:13 -06:00
|
|
|
obj-$(CONFIG_PCI_ATS) += ats.o
|
2009-03-19 21:25:11 -06:00
|
|
|
obj-$(CONFIG_PCI_IOV) += iov.o
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#
|
|
|
|
# Some architectures use the generic PCI setup functions
|
|
|
|
#
|
2005-06-20 15:29:25 -06:00
|
|
|
obj-$(CONFIG_X86) += setup-bus.o
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
|
|
|
|
obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
|
2011-01-15 03:25:14 -07:00
|
|
|
obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_PARISC) += setup-bus.o
|
|
|
|
obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
|
2008-01-23 22:47:39 -07:00
|
|
|
obj-$(CONFIG_PPC) += setup-bus.o
|
2012-04-18 15:17:19 -06:00
|
|
|
obj-$(CONFIG_FRV) += setup-bus.o
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
|
|
|
|
obj-$(CONFIG_X86_VISWS) += setup-irq.o
|
2008-02-08 05:19:31 -07:00
|
|
|
obj-$(CONFIG_MN10300) += setup-bus.o
|
2010-01-18 07:27:10 -07:00
|
|
|
obj-$(CONFIG_MICROBLAZE) += setup-bus.o
|
2010-11-02 10:05:10 -06:00
|
|
|
obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
|
2011-05-23 15:04:47 -06:00
|
|
|
obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
|
2006-04-10 20:17:48 -06:00
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#
|
|
|
|
# ACPI Related PCI FW Functions
|
2011-03-02 10:04:17 -07:00
|
|
|
# ACPI _DSM provided firmware instance and string name
|
2005-04-16 16:20:36 -06:00
|
|
|
#
|
2011-03-29 10:45:57 -06:00
|
|
|
obj-$(CONFIG_ACPI) += pci-acpi.o
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2010-07-26 04:56:50 -06:00
|
|
|
# SMBIOS provided firmware instance and labels
|
2011-03-29 10:45:57 -06:00
|
|
|
obj-$(CONFIG_PCI_LABEL) += pci-label.o
|
2010-07-26 04:56:50 -06:00
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
# 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 16:20:36 -06:00
|
|
|
|
2008-11-25 22:17:13 -07:00
|
|
|
obj-$(CONFIG_PCI_STUB) += pci-stub.o
|
|
|
|
|
2010-08-02 19:31:05 -06:00
|
|
|
obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
|
|
|
|
|
2011-04-10 19:37:07 -06:00
|
|
|
obj-$(CONFIG_OF) += of.o
|
|
|
|
|
2010-09-24 13:17:26 -06:00
|
|
|
ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
|