1# 2# Makefile for the PCI bus specific drivers. 3# 4 5obj-y += access.o bus.o probe.o host-bridge.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_ATS) += ats.o 33obj-$(CONFIG_PCI_IOV) += iov.o 34 35# 36# Some architectures use the generic PCI setup functions 37# 38obj-$(CONFIG_X86) += setup-bus.o 39obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o 40obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o 41obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o 42obj-$(CONFIG_PARISC) += setup-bus.o 43obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o 44obj-$(CONFIG_PPC) += setup-bus.o 45obj-$(CONFIG_FRV) += setup-bus.o 46obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 47obj-$(CONFIG_X86_VISWS) += setup-irq.o 48obj-$(CONFIG_MN10300) += setup-bus.o 49obj-$(CONFIG_MICROBLAZE) += setup-bus.o 50obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o 51obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o 52obj-$(CONFIG_M68K) += setup-bus.o setup-irq.o 53 54# 55# ACPI Related PCI FW Functions 56# ACPI _DSM provided firmware instance and string name 57# 58obj-$(CONFIG_ACPI) += pci-acpi.o 59 60# SMBIOS provided firmware instance and labels 61obj-$(CONFIG_PCI_LABEL) += pci-label.o 62 63# Cardbus & CompactPCI use setup-bus 64obj-$(CONFIG_HOTPLUG) += setup-bus.o 65 66obj-$(CONFIG_PCI_SYSCALL) += syscall.o 67 68obj-$(CONFIG_PCI_STUB) += pci-stub.o 69 70obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o 71 72obj-$(CONFIG_OF) += of.o 73 74ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG 75