Linux 4.16.11
[linux/fpc-iii.git] / drivers / pci / hotplug / Makefile
blob7e333160371457032fb92e53b928a40c6c94f7e4
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
12 # generic support.
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_SGI) += sgi_hotplug.o
22 obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o
23 obj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o
25 # acpiphp_ibm extends acpiphp, so should be linked afterwards.
27 obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o
29 pci_hotplug-objs := pci_hotplug_core.o
31 ifdef CONFIG_HOTPLUG_PCI_CPCI
32 pci_hotplug-objs += cpci_hotplug_core.o \
33 cpci_hotplug_pci.o
34 endif
35 ifdef CONFIG_ACPI
36 pci_hotplug-objs += acpi_pcihp.o
37 endif
39 cpqphp-objs := cpqphp_core.o \
40 cpqphp_ctrl.o \
41 cpqphp_sysfs.o \
42 cpqphp_pci.o
43 cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
44 cpqphp-objs += $(cpqphp-y)
46 ibmphp-objs := ibmphp_core.o \
47 ibmphp_ebda.o \
48 ibmphp_pci.o \
49 ibmphp_res.o \
50 ibmphp_hpc.o
52 acpiphp-objs := acpiphp_core.o \
53 acpiphp_glue.o
55 pnv-php-objs := pnv_php.o
57 rpaphp-objs := rpaphp_core.o \
58 rpaphp_pci.o \
59 rpaphp_slot.o
61 rpadlpar_io-objs := rpadlpar_core.o \
62 rpadlpar_sysfs.o
64 pciehp-objs := pciehp_core.o \
65 pciehp_ctrl.o \
66 pciehp_pci.o \
67 pciehp_hpc.o
69 shpchp-objs := shpchp_core.o \
70 shpchp_ctrl.o \
71 shpchp_pci.o \
72 shpchp_sysfs.o \
73 shpchp_hpc.o