Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #
  2. # Makefile for the Linux kernel pci hotplug controller drivers.
  3. #
  4. obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o
  5. obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o
  6. obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o
  7. # native drivers should be linked before acpiphp in order to allow the
  8. # native driver to attempt to bind first. We can then fall back to
  9. # generic support.
  10. obj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.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_SHPC) += shpchp.o
  14. obj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o
  15. obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o
  16. obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o
  17. obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o
  18. obj-$(CONFIG_HOTPLUG_PCI_S390) += s390_pci_hpc.o
  19. # acpiphp_ibm extends acpiphp, so should be linked afterwards.
  20. obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o
  21. pci_hotplug-objs := pci_hotplug_core.o
  22. ifdef CONFIG_HOTPLUG_PCI_CPCI
  23. pci_hotplug-objs += cpci_hotplug_core.o \
  24. cpci_hotplug_pci.o
  25. endif
  26. ifdef CONFIG_ACPI
  27. pci_hotplug-objs += acpi_pcihp.o
  28. endif
  29. cpqphp-objs := cpqphp_core.o \
  30. cpqphp_ctrl.o \
  31. cpqphp_sysfs.o \
  32. cpqphp_pci.o
  33. cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
  34. cpqphp-objs += $(cpqphp-y)
  35. ibmphp-objs := ibmphp_core.o \
  36. ibmphp_ebda.o \
  37. ibmphp_pci.o \
  38. ibmphp_res.o \
  39. ibmphp_hpc.o
  40. acpiphp-objs := acpiphp_core.o \
  41. acpiphp_glue.o
  42. rpaphp-objs := rpaphp_core.o \
  43. rpaphp_pci.o \
  44. rpaphp_slot.o
  45. rpadlpar_io-objs := rpadlpar_core.o \
  46. rpadlpar_sysfs.o
  47. pciehp-objs := pciehp_core.o \
  48. pciehp_ctrl.o \
  49. pciehp_pci.o \
  50. pciehp_hpc.o
  51. shpchp-objs := shpchp_core.o \
  52. shpchp_ctrl.o \
  53. shpchp_pci.o \
  54. shpchp_sysfs.o \
  55. shpchp_hpc.o