1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the Linux kernel pci hotplug controller drivers. 4# 5 6obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o 7obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o 8obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o 9 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. 13 14obj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o 15obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550) += cpcihp_zt5550.o 16obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC) += cpcihp_generic.o 17obj-$(CONFIG_HOTPLUG_PCI_SHPC) += shpchp.o 18obj-$(CONFIG_HOTPLUG_PCI_POWERNV) += pnv-php.o 19obj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o 20obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o 21obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o 22obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o 23obj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o 24 25# acpiphp_ibm extends acpiphp, so should be linked afterwards. 26 27obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o 28 29pci_hotplug-objs := pci_hotplug_core.o 30 31ifdef CONFIG_HOTPLUG_PCI_CPCI 32pci_hotplug-objs += cpci_hotplug_core.o \ 33 cpci_hotplug_pci.o 34endif 35ifdef CONFIG_ACPI 36pci_hotplug-objs += acpi_pcihp.o 37endif 38 39cpqphp-objs := cpqphp_core.o \ 40 cpqphp_ctrl.o \ 41 cpqphp_sysfs.o \ 42 cpqphp_pci.o 43cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o 44cpqphp-objs += $(cpqphp-y) 45 46ibmphp-objs := ibmphp_core.o \ 47 ibmphp_ebda.o \ 48 ibmphp_pci.o \ 49 ibmphp_res.o \ 50 ibmphp_hpc.o 51 52acpiphp-objs := acpiphp_core.o \ 53 acpiphp_glue.o 54 55pnv-php-objs := pnv_php.o 56 57rpaphp-objs := rpaphp_core.o \ 58 rpaphp_pci.o \ 59 rpaphp_slot.o 60 61rpadlpar_io-objs := rpadlpar_core.o \ 62 rpadlpar_sysfs.o 63 64pciehp-objs := pciehp_core.o \ 65 pciehp_ctrl.o \ 66 pciehp_pci.o \ 67 pciehp_hpc.o 68 69shpchp-objs := shpchp_core.o \ 70 shpchp_ctrl.o \ 71 shpchp_pci.o \ 72 shpchp_sysfs.o \ 73 shpchp_hpc.o 74