Makefile 1.9 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7
#
# Makefile for the Linux kernel pci hotplug controller drivers.
#

obj-$(CONFIG_HOTPLUG_PCI)		+= pci_hotplug.o
obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)	+= cpqphp.o
obj-$(CONFIG_HOTPLUG_PCI_IBM)		+= ibmphp.o
8

9 10 11
# native drivers should be linked before acpiphp in order to allow the
# native driver to attempt to bind first. We can then fall back to
# generic support.
12 13

obj-$(CONFIG_HOTPLUG_PCI_PCIE)		+= pciehp.o
L
Linus Torvalds 已提交
14 15 16 17 18
obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)	+= cpcihp_zt5550.o
obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)	+= cpcihp_generic.o
obj-$(CONFIG_HOTPLUG_PCI_SHPC)		+= shpchp.o
obj-$(CONFIG_HOTPLUG_PCI_RPA)		+= rpaphp.o
obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)	+= rpadlpar_io.o
19
obj-$(CONFIG_HOTPLUG_PCI_SGI)		+= sgi_hotplug.o
20 21 22 23 24
obj-$(CONFIG_HOTPLUG_PCI_ACPI)		+= acpiphp.o

# acpiphp_ibm extends acpiphp, so should be linked afterwards.

obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)	+= acpiphp_ibm.o
L
Linus Torvalds 已提交
25

A
Alex Chiang 已提交
26 27 28
# Link this last so it doesn't claim devices that have a real hotplug driver
obj-$(CONFIG_HOTPLUG_PCI_FAKE)		+= fakephp.o

29
pci_hotplug-objs	:=	pci_hotplug_core.o pcihp_slot.o
L
Linus Torvalds 已提交
30 31 32 33 34

ifdef CONFIG_HOTPLUG_PCI_CPCI
pci_hotplug-objs	+=	cpci_hotplug_core.o	\
				cpci_hotplug_pci.o
endif
35 36 37
ifdef CONFIG_ACPI
pci_hotplug-objs 	+= 	acpi_pcihp.o
endif
L
Linus Torvalds 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

cpqphp-objs		:=	cpqphp_core.o	\
				cpqphp_ctrl.o	\
				cpqphp_sysfs.o	\
				cpqphp_pci.o
cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
cpqphp-objs += $(cpqphp-y)

ibmphp-objs		:=	ibmphp_core.o	\
				ibmphp_ebda.o	\
				ibmphp_pci.o	\
				ibmphp_res.o	\
				ibmphp_hpc.o

acpiphp-objs		:=	acpiphp_core.o	\
K
Kristen Accardi 已提交
53
				acpiphp_glue.o
L
Linus Torvalds 已提交
54 55 56

rpaphp-objs		:=	rpaphp_core.o	\
				rpaphp_pci.o	\
57
				rpaphp_slot.o
L
Linus Torvalds 已提交
58 59 60 61 62 63 64 65

rpadlpar_io-objs	:=	rpadlpar_core.o \
				rpadlpar_sysfs.o

pciehp-objs		:=	pciehp_core.o	\
				pciehp_ctrl.o	\
				pciehp_pci.o	\
				pciehp_hpc.o
66 67 68
ifdef CONFIG_ACPI
pciehp-objs		+=	pciehp_acpi.o
endif
L
Linus Torvalds 已提交
69 70 71 72 73 74

shpchp-objs		:=	shpchp_core.o	\
				shpchp_ctrl.o	\
				shpchp_pci.o	\
				shpchp_sysfs.o	\
				shpchp_hpc.o