Merge tag 'dm-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper...
[firefly-linux-kernel-4.4.55.git] / drivers / pci / hotplug / Makefile
1 #
2 # Makefile for the Linux kernel pci hotplug controller drivers.
3 #
4
5 obj-$(CONFIG_HOTPLUG_PCI)               += pci_hotplug.o
6 obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)        += cpqphp.o
7 obj-$(CONFIG_HOTPLUG_PCI_IBM)           += ibmphp.o
8
9 # 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.
12
13 obj-$(CONFIG_HOTPLUG_PCI_PCIE)          += pciehp.o
14 obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)   += cpcihp_zt5550.o
15 obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)  += cpcihp_generic.o
16 obj-$(CONFIG_HOTPLUG_PCI_SHPC)          += shpchp.o
17 obj-$(CONFIG_HOTPLUG_PCI_RPA)           += rpaphp.o
18 obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)     += rpadlpar_io.o
19 obj-$(CONFIG_HOTPLUG_PCI_SGI)           += sgi_hotplug.o
20 obj-$(CONFIG_HOTPLUG_PCI_ACPI)          += acpiphp.o
21 obj-$(CONFIG_HOTPLUG_PCI_S390)          += s390_pci_hpc.o
22
23 # acpiphp_ibm extends acpiphp, so should be linked afterwards.
24
25 obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)      += acpiphp_ibm.o
26
27 pci_hotplug-objs        :=      pci_hotplug_core.o
28
29 ifdef CONFIG_HOTPLUG_PCI_CPCI
30 pci_hotplug-objs        +=      cpci_hotplug_core.o     \
31                                 cpci_hotplug_pci.o
32 endif
33 ifdef CONFIG_ACPI
34 pci_hotplug-objs        +=      acpi_pcihp.o
35 endif
36
37 cpqphp-objs             :=      cpqphp_core.o   \
38                                 cpqphp_ctrl.o   \
39                                 cpqphp_sysfs.o  \
40                                 cpqphp_pci.o
41 cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
42 cpqphp-objs += $(cpqphp-y)
43
44 ibmphp-objs             :=      ibmphp_core.o   \
45                                 ibmphp_ebda.o   \
46                                 ibmphp_pci.o    \
47                                 ibmphp_res.o    \
48                                 ibmphp_hpc.o
49
50 acpiphp-objs            :=      acpiphp_core.o  \
51                                 acpiphp_glue.o
52
53 rpaphp-objs             :=      rpaphp_core.o   \
54                                 rpaphp_pci.o    \
55                                 rpaphp_slot.o
56
57 rpadlpar_io-objs        :=      rpadlpar_core.o \
58                                 rpadlpar_sysfs.o
59
60 pciehp-objs             :=      pciehp_core.o   \
61                                 pciehp_ctrl.o   \
62                                 pciehp_pci.o    \
63                                 pciehp_hpc.o
64 ifdef CONFIG_ACPI
65 pciehp-objs             +=      pciehp_acpi.o
66 endif
67
68 shpchp-objs             :=      shpchp_core.o   \
69                                 shpchp_ctrl.o   \
70                                 shpchp_pci.o    \
71                                 shpchp_sysfs.o  \
72                                 shpchp_hpc.o