1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the Linux kernel pci hotplug controller drivers. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o 71da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o 81da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o 971a082efSMatthew Garrett 103368dd29SMatthew Garrett# native drivers should be linked before acpiphp in order to allow the 113368dd29SMatthew Garrett# native driver to attempt to bind first. We can then fall back to 123368dd29SMatthew Garrett# generic support. 1371a082efSMatthew Garrett 1471a082efSMatthew Garrettobj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o 151da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550) += cpcihp_zt5550.o 161da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC) += cpcihp_generic.o 171da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_SHPC) += shpchp.o 1866725152SGavin Shanobj-$(CONFIG_HOTPLUG_PCI_POWERNV) += pnv-php.o 191da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o 201da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o 213368dd29SMatthew Garrettobj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o 227441b062SJan Glauberobj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o 233368dd29SMatthew Garrett 243368dd29SMatthew Garrett# acpiphp_ibm extends acpiphp, so should be linked afterwards. 253368dd29SMatthew Garrett 263368dd29SMatthew Garrettobj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o 271da177e4SLinus Torvalds 28589fcc23SBjorn Helgaaspci_hotplug-objs := pci_hotplug_core.o 291da177e4SLinus Torvalds 301da177e4SLinus Torvaldsifdef CONFIG_HOTPLUG_PCI_CPCI 311da177e4SLinus Torvaldspci_hotplug-objs += cpci_hotplug_core.o \ 321da177e4SLinus Torvalds cpci_hotplug_pci.o 331da177e4SLinus Torvaldsendif 34783c49fcSKristen Accardiifdef CONFIG_ACPI 35783c49fcSKristen Accardipci_hotplug-objs += acpi_pcihp.o 36783c49fcSKristen Accardiendif 371da177e4SLinus Torvalds 381da177e4SLinus Torvaldscpqphp-objs := cpqphp_core.o \ 391da177e4SLinus Torvalds cpqphp_ctrl.o \ 401da177e4SLinus Torvalds cpqphp_sysfs.o \ 411da177e4SLinus Torvalds cpqphp_pci.o 421da177e4SLinus Torvaldscpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o 431da177e4SLinus Torvaldscpqphp-objs += $(cpqphp-y) 441da177e4SLinus Torvalds 451da177e4SLinus Torvaldsibmphp-objs := ibmphp_core.o \ 461da177e4SLinus Torvalds ibmphp_ebda.o \ 471da177e4SLinus Torvalds ibmphp_pci.o \ 481da177e4SLinus Torvalds ibmphp_res.o \ 491da177e4SLinus Torvalds ibmphp_hpc.o 501da177e4SLinus Torvalds 511da177e4SLinus Torvaldsacpiphp-objs := acpiphp_core.o \ 524e8662bbSKristen Accardi acpiphp_glue.o 531da177e4SLinus Torvalds 5466725152SGavin Shanpnv-php-objs := pnv_php.o 5566725152SGavin Shan 561da177e4SLinus Torvaldsrpaphp-objs := rpaphp_core.o \ 571da177e4SLinus Torvalds rpaphp_pci.o \ 585eeb8c63SJohn Rose rpaphp_slot.o 591da177e4SLinus Torvalds 601da177e4SLinus Torvaldsrpadlpar_io-objs := rpadlpar_core.o \ 611da177e4SLinus Torvalds rpadlpar_sysfs.o 621da177e4SLinus Torvalds 631da177e4SLinus Torvaldspciehp-objs := pciehp_core.o \ 641da177e4SLinus Torvalds pciehp_ctrl.o \ 651da177e4SLinus Torvalds pciehp_pci.o \ 661da177e4SLinus Torvalds pciehp_hpc.o 671da177e4SLinus Torvalds 681da177e4SLinus Torvaldsshpchp-objs := shpchp_core.o \ 691da177e4SLinus Torvalds shpchp_ctrl.o \ 701da177e4SLinus Torvalds shpchp_pci.o \ 711da177e4SLinus Torvalds shpchp_sysfs.o \ 721da177e4SLinus Torvalds shpchp_hpc.o 73