Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the Linux kernel pci hotplug controller drivers. | |
3 | # | |
4 | ||
5 | obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o | |
1da177e4 LT |
6 | obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o |
7 | obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o | |
71a082ef | 8 | |
3368dd29 MG |
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. | |
71a082ef MG |
12 | |
13 | obj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o | |
1da177e4 LT |
14 | obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550) += cpcihp_zt5550.o |
15 | obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC) += cpcihp_generic.o | |
1da177e4 LT |
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 | |
6f354b01 | 19 | obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o |
3368dd29 | 20 | obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o |
7441b062 | 21 | obj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o |
3368dd29 MG |
22 | |
23 | # acpiphp_ibm extends acpiphp, so should be linked afterwards. | |
24 | ||
25 | obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o | |
1da177e4 | 26 | |
589fcc23 | 27 | pci_hotplug-objs := pci_hotplug_core.o |
1da177e4 LT |
28 | |
29 | ifdef CONFIG_HOTPLUG_PCI_CPCI | |
30 | pci_hotplug-objs += cpci_hotplug_core.o \ | |
31 | cpci_hotplug_pci.o | |
32 | endif | |
783c49fc | 33 | ifdef CONFIG_ACPI |
f7625980 | 34 | pci_hotplug-objs += acpi_pcihp.o |
783c49fc | 35 | endif |
1da177e4 LT |
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 \ | |
4e8662bb | 51 | acpiphp_glue.o |
1da177e4 LT |
52 | |
53 | rpaphp-objs := rpaphp_core.o \ | |
54 | rpaphp_pci.o \ | |
5eeb8c63 | 55 | rpaphp_slot.o |
1da177e4 LT |
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 | |
c9ffa5a5 KK |
64 | ifdef CONFIG_ACPI |
65 | pciehp-objs += pciehp_acpi.o | |
66 | endif | |
1da177e4 LT |
67 | |
68 | shpchp-objs := shpchp_core.o \ | |
69 | shpchp_ctrl.o \ | |
70 | shpchp_pci.o \ | |
71 | shpchp_sysfs.o \ | |
72 | shpchp_hpc.o |