Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the PCI bus specific drivers. |
| 3 | # |
| 4 | |
| 5 | obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \ |
David S. Miller | 085ae41 | 2005-08-08 13:19:08 -0700 | [diff] [blame^] | 6 | pci-driver.o search.o pci-sysfs.o rom.o setup-res.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_PROC_FS) += proc.o |
| 8 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_HOTPLUG) += hotplug.o |
| 10 | |
| 11 | # Build the PCI Hotplug drivers if we were asked to |
| 12 | obj-$(CONFIG_HOTPLUG_PCI) += hotplug/ |
| 13 | |
| 14 | # |
| 15 | # Some architectures use the generic PCI setup functions |
| 16 | # |
Andy Whitcroft | 43a6b76 | 2005-06-20 14:29:25 -0700 | [diff] [blame] | 17 | obj-$(CONFIG_X86) += setup-bus.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o |
| 19 | obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o |
| 20 | obj-$(CONFIG_PARISC) += setup-bus.o |
| 21 | obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o |
| 22 | obj-$(CONFIG_PPC32) += setup-irq.o |
| 23 | obj-$(CONFIG_PPC64) += setup-bus.o |
| 24 | obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o |
| 25 | obj-$(CONFIG_X86_VISWS) += setup-irq.o |
| 26 | obj-$(CONFIG_PCI_MSI) += msi.o |
| 27 | |
| 28 | # |
| 29 | # ACPI Related PCI FW Functions |
| 30 | # |
| 31 | obj-$(CONFIG_ACPI) += pci-acpi.o |
| 32 | |
| 33 | # Cardbus & CompactPCI use setup-bus |
| 34 | obj-$(CONFIG_HOTPLUG) += setup-bus.o |
| 35 | |
| 36 | ifndef CONFIG_X86 |
| 37 | obj-y += syscall.o |
| 38 | endif |
| 39 | |
| 40 | ifeq ($(CONFIG_PCI_DEBUG),y) |
| 41 | EXTRA_CFLAGS += -DDEBUG |
| 42 | endif |
| 43 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | # Build PCI Express stuff if needed |
| 45 | obj-$(CONFIG_PCIEPORTBUS) += pcie/ |
| 46 | |