xref: /openbmc/linux/drivers/pci/hotplug/Makefile (revision c9ffa5a5)
1#
2# Makefile for the Linux kernel pci hotplug controller drivers.
3#
4
5obj-$(CONFIG_HOTPLUG_PCI)		+= pci_hotplug.o
6obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)	+= cpqphp.o
7obj-$(CONFIG_HOTPLUG_PCI_IBM)		+= ibmphp.o
8obj-$(CONFIG_HOTPLUG_PCI_ACPI)		+= acpiphp.o
9obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)	+= acpiphp_ibm.o
10obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)	+= cpcihp_zt5550.o
11obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)	+= cpcihp_generic.o
12obj-$(CONFIG_HOTPLUG_PCI_PCIE)		+= pciehp.o
13obj-$(CONFIG_HOTPLUG_PCI_SHPC)		+= shpchp.o
14obj-$(CONFIG_HOTPLUG_PCI_RPA)		+= rpaphp.o
15obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)	+= rpadlpar_io.o
16obj-$(CONFIG_HOTPLUG_PCI_SGI)		+= sgi_hotplug.o
17
18# Link this last so it doesn't claim devices that have a real hotplug driver
19obj-$(CONFIG_HOTPLUG_PCI_FAKE)		+= fakephp.o
20
21pci_hotplug-objs	:=	pci_hotplug_core.o
22
23ifdef CONFIG_HOTPLUG_PCI_CPCI
24pci_hotplug-objs	+=	cpci_hotplug_core.o	\
25				cpci_hotplug_pci.o
26endif
27ifdef CONFIG_ACPI
28pci_hotplug-objs 	+= 	acpi_pcihp.o
29endif
30
31cpqphp-objs		:=	cpqphp_core.o	\
32				cpqphp_ctrl.o	\
33				cpqphp_sysfs.o	\
34				cpqphp_pci.o
35cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
36cpqphp-objs += $(cpqphp-y)
37
38ibmphp-objs		:=	ibmphp_core.o	\
39				ibmphp_ebda.o	\
40				ibmphp_pci.o	\
41				ibmphp_res.o	\
42				ibmphp_hpc.o
43
44acpiphp-objs		:=	acpiphp_core.o	\
45				acpiphp_glue.o
46
47rpaphp-objs		:=	rpaphp_core.o	\
48				rpaphp_pci.o	\
49				rpaphp_slot.o
50
51rpadlpar_io-objs	:=	rpadlpar_core.o \
52				rpadlpar_sysfs.o
53
54pciehp-objs		:=	pciehp_core.o	\
55				pciehp_ctrl.o	\
56				pciehp_pci.o	\
57				pciehp_hpc.o
58ifdef CONFIG_ACPI
59pciehp-objs		+=	pciehp_acpi.o
60endif
61
62shpchp-objs		:=	shpchp_core.o	\
63				shpchp_ctrl.o	\
64				shpchp_pci.o	\
65				shpchp_sysfs.o	\
66				shpchp_hpc.o
67