xref: /openbmc/linux/drivers/pci/hotplug/Makefile (revision 5eeb8c63)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux kernel pci hotplug controller drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI)		+= pci_hotplug.o
61da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_FAKE)		+= fakephp.o
71da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_COMPAQ)	+= cpqphp.o
81da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_IBM)		+= ibmphp.o
91da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_ACPI)		+= acpiphp.o
101da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)	+= acpiphp_ibm.o
111da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)	+= cpcihp_zt5550.o
121da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)	+= cpcihp_generic.o
131da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_PCIE)		+= pciehp.o
141da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_SHPC)		+= shpchp.o
151da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_RPA)		+= rpaphp.o
161da177e4SLinus Torvaldsobj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)	+= rpadlpar_io.o
176f354b01SPrarit Bhargavaobj-$(CONFIG_HOTPLUG_PCI_SGI)		+= sgi_hotplug.o
181da177e4SLinus Torvalds
191da177e4SLinus Torvaldspci_hotplug-objs	:=	pci_hotplug_core.o
201da177e4SLinus Torvalds
211da177e4SLinus Torvaldsifdef CONFIG_HOTPLUG_PCI_CPCI
221da177e4SLinus Torvaldspci_hotplug-objs	+=	cpci_hotplug_core.o	\
231da177e4SLinus Torvalds				cpci_hotplug_pci.o
241da177e4SLinus Torvaldsendif
251da177e4SLinus Torvalds
261da177e4SLinus Torvaldscpqphp-objs		:=	cpqphp_core.o	\
271da177e4SLinus Torvalds				cpqphp_ctrl.o	\
281da177e4SLinus Torvalds				cpqphp_sysfs.o	\
291da177e4SLinus Torvalds				cpqphp_pci.o
301da177e4SLinus Torvaldscpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
311da177e4SLinus Torvaldscpqphp-objs += $(cpqphp-y)
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsibmphp-objs		:=	ibmphp_core.o	\
341da177e4SLinus Torvalds				ibmphp_ebda.o	\
351da177e4SLinus Torvalds				ibmphp_pci.o	\
361da177e4SLinus Torvalds				ibmphp_res.o	\
371da177e4SLinus Torvalds				ibmphp_hpc.o
381da177e4SLinus Torvalds
391da177e4SLinus Torvaldsacpiphp-objs		:=	acpiphp_core.o	\
4042f49a6aSRajesh Shah				acpiphp_glue.o
411da177e4SLinus Torvalds
421da177e4SLinus Torvaldsrpaphp-objs		:=	rpaphp_core.o	\
431da177e4SLinus Torvalds				rpaphp_pci.o	\
445eeb8c63SJohn Rose				rpaphp_slot.o
451da177e4SLinus Torvalds
461da177e4SLinus Torvaldsrpadlpar_io-objs	:=	rpadlpar_core.o \
471da177e4SLinus Torvalds				rpadlpar_sysfs.o
481da177e4SLinus Torvalds
491da177e4SLinus Torvaldspciehp-objs		:=	pciehp_core.o	\
501da177e4SLinus Torvalds				pciehp_ctrl.o	\
511da177e4SLinus Torvalds				pciehp_pci.o	\
521da177e4SLinus Torvalds				pciehp_hpc.o
5376f58584SLen Brownifdef CONFIG_ACPI
541da177e4SLinus Torvalds	pciehp-objs += pciehprm_acpi.o
551da177e4SLinus Torvaldselse
561da177e4SLinus Torvalds	pciehp-objs += pciehprm_nonacpi.o
571da177e4SLinus Torvaldsendif
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsshpchp-objs		:=	shpchp_core.o	\
601da177e4SLinus Torvalds				shpchp_ctrl.o	\
611da177e4SLinus Torvalds				shpchp_pci.o	\
621da177e4SLinus Torvalds				shpchp_sysfs.o	\
631da177e4SLinus Torvalds				shpchp_hpc.o
6476f58584SLen Brownifdef CONFIG_ACPI
651da177e4SLinus Torvalds	shpchp-objs += shpchprm_acpi.o
661da177e4SLinus Torvaldselse
671da177e4SLinus Torvalds	ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
681da177e4SLinus Torvalds		shpchp-objs += shpchprm_legacy.o
691da177e4SLinus Torvalds	else
701da177e4SLinus Torvalds		shpchp-objs += shpchprm_nonacpi.o
711da177e4SLinus Torvalds	endif
721da177e4SLinus Torvaldsendif
73