18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Makefile for the Linux kernel pci hotplug controller drivers. 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o 78c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o 88c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci# native drivers should be linked before acpiphp in order to allow the 118c2ecf20Sopenharmony_ci# native driver to attempt to bind first. We can then fall back to 128c2ecf20Sopenharmony_ci# generic support. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o 158c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550) += cpcihp_zt5550.o 168c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC) += cpcihp_generic.o 178c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_SHPC) += shpchp.o 188c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_POWERNV) += pnv-php.o 198c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o 208c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o 218c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o 228c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci# acpiphp_ibm extends acpiphp, so should be linked afterwards. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciobj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_cipci_hotplug-objs := pci_hotplug_core.o 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciifdef CONFIG_HOTPLUG_PCI_CPCI 318c2ecf20Sopenharmony_cipci_hotplug-objs += cpci_hotplug_core.o \ 328c2ecf20Sopenharmony_ci cpci_hotplug_pci.o 338c2ecf20Sopenharmony_ciendif 348c2ecf20Sopenharmony_ciifdef CONFIG_ACPI 358c2ecf20Sopenharmony_cipci_hotplug-objs += acpi_pcihp.o 368c2ecf20Sopenharmony_ciendif 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_cicpqphp-objs := cpqphp_core.o \ 398c2ecf20Sopenharmony_ci cpqphp_ctrl.o \ 408c2ecf20Sopenharmony_ci cpqphp_sysfs.o \ 418c2ecf20Sopenharmony_ci cpqphp_pci.o 428c2ecf20Sopenharmony_cicpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o 438c2ecf20Sopenharmony_cicpqphp-objs += $(cpqphp-y) 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciibmphp-objs := ibmphp_core.o \ 468c2ecf20Sopenharmony_ci ibmphp_ebda.o \ 478c2ecf20Sopenharmony_ci ibmphp_pci.o \ 488c2ecf20Sopenharmony_ci ibmphp_res.o \ 498c2ecf20Sopenharmony_ci ibmphp_hpc.o 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ciacpiphp-objs := acpiphp_core.o \ 528c2ecf20Sopenharmony_ci acpiphp_glue.o 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_cipnv-php-objs := pnv_php.o 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_cirpaphp-objs := rpaphp_core.o \ 578c2ecf20Sopenharmony_ci rpaphp_pci.o \ 588c2ecf20Sopenharmony_ci rpaphp_slot.o 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_cirpadlpar_io-objs := rpadlpar_core.o \ 618c2ecf20Sopenharmony_ci rpadlpar_sysfs.o 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_cipciehp-objs := pciehp_core.o \ 648c2ecf20Sopenharmony_ci pciehp_ctrl.o \ 658c2ecf20Sopenharmony_ci pciehp_pci.o \ 668c2ecf20Sopenharmony_ci pciehp_hpc.o 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_cishpchp-objs := shpchp_core.o \ 698c2ecf20Sopenharmony_ci shpchp_ctrl.o \ 708c2ecf20Sopenharmony_ci shpchp_pci.o \ 718c2ecf20Sopenharmony_ci shpchp_sysfs.o \ 728c2ecf20Sopenharmony_ci shpchp_hpc.o 73