modules.mk 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2017 Cezary Jackiewicz <[email protected]>
  4. define KernelPackage/amazon-ena
  5. SUBMENU:=$(NETWORK_DEVICES_MENU)
  6. TITLE:=Elastic Network Adapter (for Amazon AWS T3)
  7. DEPENDS:=@TARGET_x86_64
  8. KCONFIG:=CONFIG_ENA_ETHERNET
  9. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amazon/ena/ena.ko
  10. AUTOLOAD:=$(call AutoLoad,12,ena)
  11. endef
  12. define KernelPackage/amazon-ena/description
  13. This driver supports Elastic Network Adapter (ENA)
  14. used by Amazon AWS T3 instances.
  15. endef
  16. $(eval $(call KernelPackage,amazon-ena))
  17. define KernelPackage/amd-xgbe
  18. SUBMENU:=$(NETWORK_DEVICES_MENU)
  19. TITLE:=AMD Ethernet on SoC support
  20. DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +(LINUX_5_10||LINUX_5_15):kmod-mdio-devres
  21. KCONFIG:=CONFIG_AMD_XGBE
  22. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
  23. AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)
  24. endef
  25. define KernelPackage/amd-xgbe/description
  26. Kernel modules for AMD 10GbE Ethernet device on an AMD SoC.
  27. endef
  28. $(eval $(call KernelPackage,amd-xgbe))
  29. define KernelPackage/f71808e-wdt
  30. SUBMENU:=$(OTHER_MENU)
  31. TITLE:=Fintek F718xx/F818xx Watchdog Timer
  32. DEPENDS:=@TARGET_x86
  33. KCONFIG:=CONFIG_F71808E_WDT
  34. FILES:=$(LINUX_DIR)/drivers/watchdog/f71808e_wdt.ko
  35. AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
  36. endef
  37. define KernelPackage/f71808e-wdt/description
  38. Kernel module for the watchdog timer found on many Fintek Super-IO chips.
  39. endef
  40. $(eval $(call KernelPackage,f71808e-wdt))
  41. define KernelPackage/sound-cs5535audio
  42. TITLE:=CS5535/CS5536 Audio Controller
  43. DEPENDS:=@TARGET_x86_geode +kmod-ac97
  44. KCONFIG:=CONFIG_SND_CS5535AUDIO
  45. FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
  46. AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
  47. $(call AddDepends/sound)
  48. endef
  49. define KernelPackage/sound-cs5535audio/description
  50. Support for the integrated AC97 sound device on motherboards
  51. with AMD CS5535/CS5536 chipsets.
  52. endef
  53. $(eval $(call KernelPackage,sound-cs5535audio))
  54. define KernelPackage/sp5100-tco
  55. SUBMENU:=$(OTHER_MENU)
  56. TITLE:=SP5100 Watchdog Support
  57. DEPENDS:=@TARGET_x86
  58. KCONFIG:=CONFIG_SP5100_TCO
  59. FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
  60. AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
  61. endef
  62. define KernelPackage/sp5100-tco/description
  63. Kernel module for the SP5100_TCO hardware watchdog.
  64. endef
  65. $(eval $(call KernelPackage,sp5100-tco))
  66. define KernelPackage/ib700-wdt
  67. SUBMENU:=$(OTHER_MENU)
  68. TITLE:=IB700 SBC Watchdog Timer
  69. DEPENDS:=@TARGET_x86
  70. KCONFIG:=CONFIG_IB700_WDT
  71. FILES:=$(LINUX_DIR)/drivers/watchdog/ib700wdt.ko
  72. AUTOLOAD:=$(call AutoLoad,50,ib700wdt,1)
  73. endef
  74. define KernelPackage/ib700-wdt/description
  75. Kernel module for the hardware watchdog on the IB700 Single
  76. Board Computer produced by TMC Technology (www.tmc-uk.com).
  77. Also used by QEMU/libvirt.
  78. endef
  79. $(eval $(call KernelPackage,ib700-wdt))
  80. define KernelPackage/it87-wdt
  81. SUBMENU:=$(OTHER_MENU)
  82. TITLE:=ITE IT87 Watchdog Timer
  83. DEPENDS:=@TARGET_x86
  84. KCONFIG:=CONFIG_IT87_WDT
  85. FILES:=$(LINUX_DIR)/drivers/watchdog/it87_wdt.ko
  86. AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
  87. MODPARAMS.it87-wdt:= \
  88. nogameport=1 \
  89. nocir=1
  90. endef
  91. define KernelPackage/it87-wdt/description
  92. Kernel module for ITE IT87 Watchdog Timer
  93. endef
  94. $(eval $(call KernelPackage,it87-wdt))
  95. define KernelPackage/itco-wdt
  96. SUBMENU:=$(OTHER_MENU)
  97. TITLE:=Intel iTCO Watchdog Timer
  98. DEPENDS:=@TARGET_x86
  99. KCONFIG:=CONFIG_ITCO_WDT \
  100. CONFIG_ITCO_VENDOR_SUPPORT=y
  101. FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
  102. $(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
  103. AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
  104. endef
  105. define KernelPackage/itco-wdt/description
  106. Kernel module for Intel iTCO Watchdog Timer
  107. endef
  108. $(eval $(call KernelPackage,itco-wdt))
  109. define KernelPackage/pcengines-apuv2
  110. SUBMENU:=$(OTHER_MENU)
  111. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  112. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  113. KCONFIG:=CONFIG_PCENGINES_APU2
  114. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  115. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  116. endef
  117. define KernelPackage/pcengines-apuv2/description
  118. This driver provides support for the front button and LEDs on
  119. PC Engines APUv2/APUv3 board.
  120. endef
  121. $(eval $(call KernelPackage,pcengines-apuv2))
  122. define KernelPackage/meraki-mx100
  123. SUBMENU:=$(OTHER_MENU)
  124. TITLE:=Cisco Meraki MX100 Platform Driver
  125. DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
  126. +kmod-usb-ledtrig-usbport +PACKAGE_kmod-meraki-mx100:nu801 +kmod-itco-wdt \
  127. +kmod-leds-uleds
  128. KCONFIG:=CONFIG_MERAKI_MX100
  129. FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
  130. AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
  131. endef
  132. define KernelPackage/meraki-mx100/description
  133. This driver provides support for the front button and LEDs on
  134. the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
  135. selects the gpio-cdev nu801 userspace driver to support the Status
  136. LED, as well as other required platform drivers.
  137. endef
  138. $(eval $(call KernelPackage,meraki-mx100))
  139. define KernelPackage/w83627hf-wdt
  140. SUBMENU:=$(OTHER_MENU)
  141. TITLE:=Winbond 83627HF Watchdog Timer
  142. DEPENDS:=@TARGET_x86
  143. KCONFIG:=CONFIG_W83627HF_WDT
  144. FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
  145. AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
  146. endef
  147. define KernelPackage/w83627hf-wdt/description
  148. Kernel module for Winbond 83627HF Watchdog Timer
  149. endef
  150. $(eval $(call KernelPackage,w83627hf-wdt))