Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#
2# Makefile for the Linux kernel pci hotplug controller drivers.
3#
4
5obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o
6obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o
7obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o
8
9# native drivers should be linked before acpiphp in order to allow the
10# native driver to attempt to bind first. We can then fall back to
11# generic support.
12
13obj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o
14obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550) += cpcihp_zt5550.o
15obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC) += cpcihp_generic.o
16obj-$(CONFIG_HOTPLUG_PCI_SHPC) += shpchp.o
17obj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o
18obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o
19obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o
20obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o
21
22# acpiphp_ibm extends acpiphp, so should be linked afterwards.
23
24obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o
25
26pci_hotplug-objs := pci_hotplug_core.o pcihp_slot.o
27
28ifdef CONFIG_HOTPLUG_PCI_CPCI
29pci_hotplug-objs += cpci_hotplug_core.o \
30 cpci_hotplug_pci.o
31endif
32ifdef CONFIG_ACPI
33pci_hotplug-objs += acpi_pcihp.o
34endif
35
36cpqphp-objs := cpqphp_core.o \
37 cpqphp_ctrl.o \
38 cpqphp_sysfs.o \
39 cpqphp_pci.o
40cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
41cpqphp-objs += $(cpqphp-y)
42
43ibmphp-objs := ibmphp_core.o \
44 ibmphp_ebda.o \
45 ibmphp_pci.o \
46 ibmphp_res.o \
47 ibmphp_hpc.o
48
49acpiphp-objs := acpiphp_core.o \
50 acpiphp_glue.o
51
52rpaphp-objs := rpaphp_core.o \
53 rpaphp_pci.o \
54 rpaphp_slot.o
55
56rpadlpar_io-objs := rpadlpar_core.o \
57 rpadlpar_sysfs.o
58
59pciehp-objs := pciehp_core.o \
60 pciehp_ctrl.o \
61 pciehp_pci.o \
62 pciehp_hpc.o
63ifdef CONFIG_ACPI
64pciehp-objs += pciehp_acpi.o
65endif
66
67shpchp-objs := shpchp_core.o \
68 shpchp_ctrl.o \
69 shpchp_pci.o \
70 shpchp_sysfs.o \
71 shpchp_hpc.o