[PATCH] shpchp - replace kmalloc() with kzalloc() and cleanup arg of sizeof()
[linux-2.6.22.y-op.git] / drivers / pci / hotplug / Makefile
blob3c71e3077ff1dd9b5cbbc1f5b0c18df022a84451
2 # Makefile for the Linux kernel pci hotplug controller drivers.
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
19 pci_hotplug-objs := pci_hotplug_core.o
21 ifdef CONFIG_HOTPLUG_PCI_CPCI
22 pci_hotplug-objs += cpci_hotplug_core.o \
23 cpci_hotplug_pci.o
24 endif
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)
33 ibmphp-objs := ibmphp_core.o \
34 ibmphp_ebda.o \
35 ibmphp_pci.o \
36 ibmphp_res.o \
37 ibmphp_hpc.o
39 acpiphp-objs := acpiphp_core.o \
40 acpiphp_glue.o
42 rpaphp-objs := rpaphp_core.o \
43 rpaphp_pci.o \
44 rpaphp_slot.o
46 rpadlpar_io-objs := rpadlpar_core.o \
47 rpadlpar_sysfs.o
49 pciehp-objs := pciehp_core.o \
50 pciehp_ctrl.o \
51 pciehp_pci.o \
52 pciehp_hpc.o
53 ifdef CONFIG_ACPI
54 pciehp-objs += pciehprm_acpi.o
55 else
56 pciehp-objs += pciehprm_nonacpi.o
57 endif
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
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