[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...
[linux-2.6] / 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 obj-$(CONFIG_HOTPLUG_PCI_SGI)           += sgi_hotplug.o
18
19 pci_hotplug-objs        :=      pci_hotplug_core.o
20
21 ifdef CONFIG_HOTPLUG_PCI_CPCI
22 pci_hotplug-objs        +=      cpci_hotplug_core.o     \
23                                 cpci_hotplug_pci.o
24 endif
25
26 cpqphp-objs             :=      cpqphp_core.o   \
27                                 cpqphp_ctrl.o   \
28                                 cpqphp_sysfs.o  \
29                                 cpqphp_pci.o
30 cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
31 cpqphp-objs += $(cpqphp-y)
32
33 ibmphp-objs             :=      ibmphp_core.o   \
34                                 ibmphp_ebda.o   \
35                                 ibmphp_pci.o    \
36                                 ibmphp_res.o    \
37                                 ibmphp_hpc.o
38
39 acpiphp-objs            :=      acpiphp_core.o  \
40                                 acpiphp_glue.o
41
42 rpaphp-objs             :=      rpaphp_core.o   \
43                                 rpaphp_pci.o    \
44                                 rpaphp_slot.o   \
45                                 rpaphp_vio.o
46
47 rpadlpar_io-objs        :=      rpadlpar_core.o \
48                                 rpadlpar_sysfs.o
49
50 pciehp-objs             :=      pciehp_core.o   \
51                                 pciehp_ctrl.o   \
52                                 pciehp_pci.o    \
53                                 pciehp_hpc.o
54 ifdef CONFIG_ACPI_BUS
55         pciehp-objs += pciehprm_acpi.o
56 else
57         pciehp-objs += pciehprm_nonacpi.o
58 endif
59
60 shpchp-objs             :=      shpchp_core.o   \
61                                 shpchp_ctrl.o   \
62                                 shpchp_pci.o    \
63                                 shpchp_sysfs.o  \
64                                 shpchp_hpc.o
65 ifdef CONFIG_ACPI_BUS
66         shpchp-objs += shpchprm_acpi.o
67 else
68         ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
69                 shpchp-objs += shpchprm_legacy.o
70         else
71                 shpchp-objs += shpchprm_nonacpi.o
72         endif
73 endif