Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. # acpiphp_ibm extends acpiphp, so should be linked afterwards.
  19. obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM) += acpiphp_ibm.o
  20. # Link this last so it doesn't claim devices that have a real hotplug driver
  21. obj-$(CONFIG_HOTPLUG_PCI_FAKE) += fakephp.o
  22. pci_hotplug-objs := pci_hotplug_core.o pcihp_slot.o
  23. ifdef CONFIG_HOTPLUG_PCI_CPCI
  24. pci_hotplug-objs += cpci_hotplug_core.o \
  25. cpci_hotplug_pci.o
  26. endif
  27. ifdef CONFIG_ACPI
  28. pci_hotplug-objs += acpi_pcihp.o
  29. endif
  30. cpqphp-objs := cpqphp_core.o \
  31. cpqphp_ctrl.o \
  32. cpqphp_sysfs.o \
  33. cpqphp_pci.o
  34. cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
  35. cpqphp-objs += $(cpqphp-y)
  36. ibmphp-objs := ibmphp_core.o \
  37. ibmphp_ebda.o \
  38. ibmphp_pci.o \
  39. ibmphp_res.o \
  40. ibmphp_hpc.o
  41. acpiphp-objs := acpiphp_core.o \
  42. acpiphp_glue.o
  43. rpaphp-objs := rpaphp_core.o \
  44. rpaphp_pci.o \
  45. rpaphp_slot.o
  46. rpadlpar_io-objs := rpadlpar_core.o \
  47. rpadlpar_sysfs.o
  48. pciehp-objs := pciehp_core.o \
  49. pciehp_ctrl.o \
  50. pciehp_pci.o \
  51. pciehp_hpc.o
  52. ifdef CONFIG_ACPI
  53. pciehp-objs += pciehp_acpi.o
  54. endif
  55. shpchp-objs := shpchp_core.o \
  56. shpchp_ctrl.o \
  57. shpchp_pci.o \
  58. shpchp_sysfs.o \
  59. shpchp_hpc.o