3e632ff8c717116d0dca075a6ec969e2b1acf31f
[linux-2.6.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_FAKE)          += fakephp.o 
7 obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)        += cpqphp.o
8 obj-$(CONFIG_HOTPLUG_PCI_IBM)           += ibmphp.o
9 obj-$(CONFIG_HOTPLUG_PCI_ACPI)          += acpiphp.o
10 obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)      += acpiphp_ibm.o
11 obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)   += cpcihp_zt5550.o
12 obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)  += cpcihp_generic.o
13 obj-$(CONFIG_HOTPLUG_PCI_PCIE)          += pciehp.o
14 obj-$(CONFIG_HOTPLUG_PCI_SHPC)          += shpchp.o
15 obj-$(CONFIG_HOTPLUG_PCI_RPA)           += rpaphp.o
16 obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)     += rpadlpar_io.o
17
18 pci_hotplug-objs        :=      pci_hotplug_core.o
19
20 ifdef CONFIG_HOTPLUG_PCI_CPCI
21 pci_hotplug-objs        +=      cpci_hotplug_core.o     \
22                                 cpci_hotplug_pci.o
23 endif
24
25 cpqphp-objs             :=      cpqphp_core.o   \
26                                 cpqphp_ctrl.o   \
27                                 cpqphp_sysfs.o  \
28                                 cpqphp_pci.o
29 cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
30 cpqphp-objs += $(cpqphp-y)
31
32 ibmphp-objs             :=      ibmphp_core.o   \
33                                 ibmphp_ebda.o   \
34                                 ibmphp_pci.o    \
35                                 ibmphp_res.o    \
36                                 ibmphp_hpc.o
37
38 acpiphp-objs            :=      acpiphp_core.o  \
39                                 acpiphp_glue.o
40
41 rpaphp-objs             :=      rpaphp_core.o   \
42                                 rpaphp_pci.o    \
43                                 rpaphp_slot.o   \
44                                 rpaphp_vio.o
45
46 rpadlpar_io-objs        :=      rpadlpar_core.o \
47                                 rpadlpar_sysfs.o
48
49 pciehp-objs             :=      pciehp_core.o   \
50                                 pciehp_ctrl.o   \
51                                 pciehp_pci.o    \
52                                 pciehp_hpc.o
53 ifdef CONFIG_ACPI_BUS
54         pciehp-objs += pciehprm_acpi.o
55 else
56         pciehp-objs += pciehprm_nonacpi.o
57 endif
58
59 shpchp-objs             :=      shpchp_core.o   \
60                                 shpchp_ctrl.o   \
61                                 shpchp_pci.o    \
62                                 shpchp_sysfs.o  \
63                                 shpchp_hpc.o
64 ifdef CONFIG_ACPI_BUS
65         shpchp-objs += shpchprm_acpi.o
66 else
67         ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
68                 shpchp-objs += shpchprm_legacy.o
69         else
70                 shpchp-objs += shpchprm_nonacpi.o
71         endif
72 endif