blob: e33cdda45a4dc34ca7944ee368a828baf34aaeb8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux kernel pci hotplug controller drivers.
3#
4
5obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07006obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o
7obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o
Matthew Garrett71a082e2009-01-27 01:03:35 +00008
Matthew Garrett3368dd22009-10-26 13:18:22 -04009# native drivers should be linked before acpiphp in order to allow the
10# native driver to attempt to bind first. We can then fall back to
11# generic support.
Matthew Garrett71a082e2009-01-27 01:03:35 +000012
13obj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550) += cpcihp_zt5550.o
15obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC) += cpcihp_generic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016obj-$(CONFIG_HOTPLUG_PCI_SHPC) += shpchp.o
Gavin Shan66725152016-05-20 16:41:42 +100017obj-$(CONFIG_HOTPLUG_PCI_POWERNV) += pnv-php.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o
19obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o
Prarit Bhargava6f354b02005-07-06 15:29:53 -070020obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o
Matthew Garrett3368dd22009-10-26 13:18:22 -040021obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o
Jan Glauber7441b062012-11-29 14:35:47 +010022obj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o
Matthew Garrett3368dd22009-10-26 13:18:22 -040023
24# acpiphp_ibm extends acpiphp, so should be linked afterwards.
25
26obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Bjorn Helgaas589fcc22014-09-12 20:02:00 -060028pci_hotplug-objs := pci_hotplug_core.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
30ifdef CONFIG_HOTPLUG_PCI_CPCI
31pci_hotplug-objs += cpci_hotplug_core.o \
32 cpci_hotplug_pci.o
33endif
Kristen Accardi783c49f2006-03-03 10:16:05 -080034ifdef CONFIG_ACPI
Bjorn Helgaasf7625982013-11-14 11:28:18 -070035pci_hotplug-objs += acpi_pcihp.o
Kristen Accardi783c49f2006-03-03 10:16:05 -080036endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
38cpqphp-objs := cpqphp_core.o \
39 cpqphp_ctrl.o \
40 cpqphp_sysfs.o \
41 cpqphp_pci.o
42cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
43cpqphp-objs += $(cpqphp-y)
44
45ibmphp-objs := ibmphp_core.o \
46 ibmphp_ebda.o \
47 ibmphp_pci.o \
48 ibmphp_res.o \
49 ibmphp_hpc.o
50
51acpiphp-objs := acpiphp_core.o \
Kristen Accardi4e8662b2006-06-28 03:08:06 -040052 acpiphp_glue.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070053
Gavin Shan66725152016-05-20 16:41:42 +100054pnv-php-objs := pnv_php.o
55
Linus Torvalds1da177e2005-04-16 15:20:36 -070056rpaphp-objs := rpaphp_core.o \
57 rpaphp_pci.o \
John Rose5eeb8c62005-07-25 10:16:42 -050058 rpaphp_slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070059
60rpadlpar_io-objs := rpadlpar_core.o \
61 rpadlpar_sysfs.o
62
63pciehp-objs := pciehp_core.o \
64 pciehp_ctrl.o \
65 pciehp_pci.o \
66 pciehp_hpc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070067
68shpchp-objs := shpchp_core.o \
69 shpchp_ctrl.o \
70 shpchp_pci.o \
71 shpchp_sysfs.o \
72 shpchp_hpc.o