# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Linux kernel pci hotplug controller drivers. # obj-$([31mCONFIG_HOTPLUG_PCI[0m) += pci_hotplug.o obj-$([31mCONFIG_HOTPLUG_PCI_COMPAQ[0m) += cpqphp.o obj-$([31mCONFIG_HOTPLUG_PCI_IBM[0m) += ibmphp.o # native drivers should be linked before acpiphp in order to allow the # native driver to attempt to bind first. We can then fall back to # generic support. obj-$([31mCONFIG_HOTPLUG_PCI_PCIE[0m) += pciehp.o obj-$([31mCONFIG_HOTPLUG_PCI_CPCI_ZT5550[0m) += cpcihp_zt5550.o obj-$([31mCONFIG_HOTPLUG_PCI_CPCI_GENERIC[0m) += cpcihp_generic.o obj-$([31mCONFIG_HOTPLUG_PCI_SHPC[0m) += shpchp.o obj-$([31mCONFIG_HOTPLUG_PCI_POWERNV[0m) += pnv-php.o obj-$([31mCONFIG_HOTPLUG_PCI_RPA[0m) += rpaphp.o obj-$([31mCONFIG_HOTPLUG_PCI_RPA_DLPAR[0m) += rpadlpar_io.o obj-$([31mCONFIG_HOTPLUG_PCI_ACPI[0m) += acpiphp.o obj-$([31mCONFIG_HOTPLUG_PCI_S390[0m) += s390_pci_hpc.o # acpiphp_ibm extends acpiphp, so should be linked afterwards. obj-$([31mCONFIG_HOTPLUG_PCI_ACPI_IBM[0m) += acpiphp_ibm.o pci_hotplug-objs := pci_hotplug_core.o ifdef [31mCONFIG_HOTPLUG_PCI_CPCI[0m pci_hotplug-objs += cpci_hotplug_core.o \ cpci_hotplug_pci.o endif ifdef [31mCONFIG_ACPI[0m pci_hotplug-objs += acpi_pcihp.o endif cpqphp-objs := cpqphp_core.o \ cpqphp_ctrl.o \ cpqphp_sysfs.o \ cpqphp_pci.o cpqphp-$([31mCONFIG_HOTPLUG_PCI_COMPAQ_NVRAM[0m) += cpqphp_nvram.o cpqphp-objs += $(cpqphp-y) ibmphp-objs := ibmphp_core.o \ ibmphp_ebda.o \ ibmphp_pci.o \ ibmphp_res.o \ ibmphp_hpc.o acpiphp-objs := acpiphp_core.o \ acpiphp_glue.o pnv-php-objs := pnv_php.o rpaphp-objs := rpaphp_core.o \ rpaphp_pci.o \ rpaphp_slot.o rpadlpar_io-objs := rpadlpar_core.o \ rpadlpar_sysfs.o pciehp-objs := pciehp_core.o \ pciehp_ctrl.o \ pciehp_pci.o \ pciehp_hpc.o shpchp-objs := shpchp_core.o \ shpchp_ctrl.o \ shpchp_pci.o \ shpchp_sysfs.o \ shpchp_hpc.o |