xref: /openbmc/linux/drivers/pci/hotplug/Makefile (revision 83dbf66f)
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
8
9# pciehp should be linked before acpiphp in order to allow the native driver
10# to attempt to bind first. We can then fall back to generic support.
11
12obj-$(CONFIG_HOTPLUG_PCI_PCIE)		+= pciehp.o
13obj-$(CONFIG_HOTPLUG_PCI_ACPI)		+= acpiphp.o
14obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)	+= acpiphp_ibm.o
15obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)	+= cpcihp_zt5550.o
16obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)	+= cpcihp_generic.o
17obj-$(CONFIG_HOTPLUG_PCI_SHPC)		+= shpchp.o
18obj-$(CONFIG_HOTPLUG_PCI_RPA)		+= rpaphp.o
19obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)	+= rpadlpar_io.o
20obj-$(CONFIG_HOTPLUG_PCI_SGI)		+= sgi_hotplug.o
21
22# Link this last so it doesn't claim devices that have a real hotplug driver
23obj-$(CONFIG_HOTPLUG_PCI_FAKE)		+= legacy_fakephp.o
24
25pci_hotplug-objs	:=	pci_hotplug_core.o
26
27ifdef CONFIG_HOTPLUG_PCI_CPCI
28pci_hotplug-objs	+=	cpci_hotplug_core.o	\
29				cpci_hotplug_pci.o
30endif
31ifdef CONFIG_ACPI
32pci_hotplug-objs 	+= 	acpi_pcihp.o
33endif
34
35cpqphp-objs		:=	cpqphp_core.o	\
36				cpqphp_ctrl.o	\
37				cpqphp_sysfs.o	\
38				cpqphp_pci.o
39cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
40cpqphp-objs += $(cpqphp-y)
41
42ibmphp-objs		:=	ibmphp_core.o	\
43				ibmphp_ebda.o	\
44				ibmphp_pci.o	\
45				ibmphp_res.o	\
46				ibmphp_hpc.o
47
48acpiphp-objs		:=	acpiphp_core.o	\
49				acpiphp_glue.o
50
51rpaphp-objs		:=	rpaphp_core.o	\
52				rpaphp_pci.o	\
53				rpaphp_slot.o
54
55rpadlpar_io-objs	:=	rpadlpar_core.o \
56				rpadlpar_sysfs.o
57
58pciehp-objs		:=	pciehp_core.o	\
59				pciehp_ctrl.o	\
60				pciehp_pci.o	\
61				pciehp_hpc.o
62ifdef CONFIG_ACPI
63pciehp-objs		+=	pciehp_acpi.o
64endif
65
66shpchp-objs		:=	shpchp_core.o	\
67				shpchp_ctrl.o	\
68				shpchp_pci.o	\
69				shpchp_sysfs.o	\
70				shpchp_hpc.o
71