1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux kernel pci hotplug controller drivers.
6 obj-
$(CONFIG_HOTPLUG_PCI
) += pci_hotplug.o
7 obj-
$(CONFIG_HOTPLUG_PCI_COMPAQ
) += cpqphp.o
8 obj-
$(CONFIG_HOTPLUG_PCI_IBM
) += ibmphp.o
10 # native drivers should be linked before acpiphp in order to allow the
11 # native driver to attempt to bind first. We can then fall back to
14 obj-
$(CONFIG_HOTPLUG_PCI_PCIE
) += pciehp.o
15 obj-
$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550
) += cpcihp_zt5550.o
16 obj-
$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC
) += cpcihp_generic.o
17 obj-
$(CONFIG_HOTPLUG_PCI_SHPC
) += shpchp.o
18 obj-
$(CONFIG_HOTPLUG_PCI_POWERNV
) += pnv-php.o
19 obj-
$(CONFIG_HOTPLUG_PCI_RPA
) += rpaphp.o
20 obj-
$(CONFIG_HOTPLUG_PCI_RPA_DLPAR
) += rpadlpar_io.o
21 obj-
$(CONFIG_HOTPLUG_PCI_ACPI
) += acpiphp.o
22 obj-
$(CONFIG_HOTPLUG_PCI_S390
) += s390_pci_hpc.o
24 # acpiphp_ibm extends acpiphp, so should be linked afterwards.
26 obj-
$(CONFIG_HOTPLUG_PCI_ACPI_IBM
) += acpiphp_ibm.o
28 pci_hotplug-objs
:= pci_hotplug_core.o
30 ifdef CONFIG_HOTPLUG_PCI_CPCI
31 pci_hotplug-objs
+= cpci_hotplug_core.o \
35 pci_hotplug-objs
+= acpi_pcihp.o
38 cpqphp-objs
:= cpqphp_core.o \
42 cpqphp-
$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM
) += cpqphp_nvram.o
43 cpqphp-objs
+= $(cpqphp-y
)
45 ibmphp-objs
:= ibmphp_core.o \
51 acpiphp-objs
:= acpiphp_core.o \
54 pnv-php-objs
:= pnv_php.o
56 rpaphp-objs
:= rpaphp_core.o \
60 rpadlpar_io-objs
:= rpadlpar_core.o \
63 pciehp-objs
:= pciehp_core.o \
68 shpchp-objs
:= shpchp_core.o \