Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 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 | acpiphp_pci.o \ |
| 41 | acpiphp_res.o |
| 42 | |
| 43 | rpaphp-objs := rpaphp_core.o \ |
| 44 | rpaphp_pci.o \ |
| 45 | rpaphp_slot.o \ |
| 46 | rpaphp_vio.o |
| 47 | |
| 48 | rpadlpar_io-objs := rpadlpar_core.o \ |
| 49 | rpadlpar_sysfs.o |
| 50 | |
| 51 | pciehp-objs := pciehp_core.o \ |
| 52 | pciehp_ctrl.o \ |
| 53 | pciehp_pci.o \ |
| 54 | pciehp_hpc.o |
| 55 | ifdef CONFIG_ACPI_BUS |
| 56 | pciehp-objs += pciehprm_acpi.o |
| 57 | else |
| 58 | pciehp-objs += pciehprm_nonacpi.o |
| 59 | endif |
| 60 | |
| 61 | shpchp-objs := shpchp_core.o \ |
| 62 | shpchp_ctrl.o \ |
| 63 | shpchp_pci.o \ |
| 64 | shpchp_sysfs.o \ |
| 65 | shpchp_hpc.o |
| 66 | ifdef CONFIG_ACPI_BUS |
| 67 | shpchp-objs += shpchprm_acpi.o |
| 68 | else |
| 69 | ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY |
| 70 | shpchp-objs += shpchprm_legacy.o |
| 71 | else |
| 72 | shpchp-objs += shpchprm_nonacpi.o |
| 73 | endif |
| 74 | endif |