1# 2# Makefile for the PCI bus specific drivers. 3# 4 5obj-y += access.o bus.o probe.o remove.o pci.o \ 6 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \ 7 irq.o vpd.o 8obj-$(CONFIG_PROC_FS) += proc.o 9obj-$(CONFIG_SYSFS) += slot.o 10 11obj-$(CONFIG_PCI_QUIRKS) += quirks.o 12 13# Build PCI Express stuff if needed 14obj-$(CONFIG_PCIEPORTBUS) += pcie/ 15 16obj-$(CONFIG_PCI_IOAPIC) += ioapic.o 17 18obj-$(CONFIG_HOTPLUG) += hotplug.o 19 20# Build the PCI Hotplug drivers if we were asked to 21obj-$(CONFIG_HOTPLUG_PCI) += hotplug/ 22ifdef CONFIG_HOTPLUG_PCI 23obj-y += hotplug-pci.o 24endif 25 26# Build the PCI MSI interrupt support 27obj-$(CONFIG_PCI_MSI) += msi.o 28 29# Build the Hypertransport interrupt support 30obj-$(CONFIG_HT_IRQ) += htirq.o 31 32obj-$(CONFIG_PCI_IOV) += iov.o 33 34# 35# Some architectures use the generic PCI setup functions 36# 37obj-$(CONFIG_X86) += setup-bus.o 38obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 39obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 40obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o 41obj-$(CONFIG_PARISC) += setup-bus.o 42obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 43obj-$(CONFIG_PPC) += setup-bus.o 44obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 45obj-$(CONFIG_X86_VISWS) += setup-irq.o 46obj-$(CONFIG_MN10300) += setup-bus.o 47obj-$(CONFIG_MICROBLAZE) += setup-bus.o 48obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o 49obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o 50 51# 52# ACPI Related PCI FW Functions 53# ACPI _DSM provided firmware instance and string name 54# 55obj-$(CONFIG_ACPI) += pci-acpi.o 56 57# SMBIOS provided firmware instance and labels 58obj-$(CONFIG_PCI_LABEL) += pci-label.o 59 60# Cardbus & CompactPCI use setup-bus 61obj-$(CONFIG_HOTPLUG) += setup-bus.o 62 63obj-$(CONFIG_PCI_SYSCALL) += syscall.o 64 65obj-$(CONFIG_PCI_STUB) += pci-stub.o 66 67obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o 68 69obj-$(CONFIG_OF) += of.o 70 71ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG 72