modules.mk 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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:=\
  34. CONFIG_F71808E_WDT \
  35. CONFIG_WATCHDOG_CORE=y
  36. FILES:=$(LINUX_DIR)/drivers/watchdog/f71808e_wdt.ko
  37. AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
  38. endef
  39. define KernelPackage/f71808e-wdt/description
  40. Kernel module for the watchdog timer found on many Fintek Super-IO chips.
  41. endef
  42. $(eval $(call KernelPackage,f71808e-wdt))
  43. define KernelPackage/sound-cs5535audio
  44. TITLE:=CS5535/CS5536 Audio Controller
  45. DEPENDS:=@TARGET_x86_geode +kmod-ac97
  46. KCONFIG:=CONFIG_SND_CS5535AUDIO
  47. FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
  48. AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
  49. $(call AddDepends/sound)
  50. endef
  51. define KernelPackage/sound-cs5535audio/description
  52. Support for the integrated AC97 sound device on motherboards
  53. with AMD CS5535/CS5536 chipsets.
  54. endef
  55. $(eval $(call KernelPackage,sound-cs5535audio))
  56. define KernelPackage/sp5100-tco
  57. SUBMENU:=$(OTHER_MENU)
  58. TITLE:=SP5100 Watchdog Support
  59. DEPENDS:=@TARGET_x86
  60. KCONFIG:=CONFIG_SP5100_TCO
  61. FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
  62. AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
  63. endef
  64. define KernelPackage/sp5100-tco/description
  65. Kernel module for the SP5100_TCO hardware watchdog.
  66. endef
  67. $(eval $(call KernelPackage,sp5100-tco))
  68. define KernelPackage/ib700-wdt
  69. SUBMENU:=$(OTHER_MENU)
  70. TITLE:=IB700 SBC Watchdog Timer
  71. DEPENDS:=@TARGET_x86
  72. KCONFIG:=CONFIG_IB700_WDT
  73. FILES:=$(LINUX_DIR)/drivers/watchdog/ib700wdt.ko
  74. AUTOLOAD:=$(call AutoLoad,50,ib700wdt,1)
  75. endef
  76. define KernelPackage/ib700-wdt/description
  77. Kernel module for the hardware watchdog on the IB700 Single
  78. Board Computer produced by TMC Technology (www.tmc-uk.com).
  79. Also used by QEMU/libvirt.
  80. endef
  81. $(eval $(call KernelPackage,ib700-wdt))
  82. define KernelPackage/it87-wdt
  83. SUBMENU:=$(OTHER_MENU)
  84. TITLE:=ITE IT87 Watchdog Timer
  85. DEPENDS:=@TARGET_x86
  86. KCONFIG:=CONFIG_IT87_WDT
  87. FILES:=$(LINUX_DIR)/drivers/watchdog/it87_wdt.ko
  88. AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
  89. MODPARAMS.it87-wdt:= \
  90. nogameport=1 \
  91. nocir=1
  92. endef
  93. define KernelPackage/it87-wdt/description
  94. Kernel module for ITE IT87 Watchdog Timer
  95. endef
  96. $(eval $(call KernelPackage,it87-wdt))
  97. define KernelPackage/itco-wdt
  98. SUBMENU:=$(OTHER_MENU)
  99. TITLE:=Intel iTCO Watchdog Timer
  100. DEPENDS:=@TARGET_x86
  101. KCONFIG:=\
  102. CONFIG_ITCO_WDT \
  103. CONFIG_ITCO_VENDOR_SUPPORT=y \
  104. CONFIG_WATCHDOG_CORE=y
  105. FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
  106. $(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
  107. AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
  108. endef
  109. define KernelPackage/itco-wdt/description
  110. Kernel module for Intel iTCO Watchdog Timer
  111. endef
  112. $(eval $(call KernelPackage,itco-wdt))
  113. define KernelPackage/pcengines-apuv2
  114. SUBMENU:=$(OTHER_MENU)
  115. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  116. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  117. KCONFIG:=CONFIG_PCENGINES_APU2
  118. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  119. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  120. endef
  121. define KernelPackage/pcengines-apuv2/description
  122. This driver provides support for the front button and LEDs on
  123. PC Engines APUv2/APUv3 board.
  124. endef
  125. $(eval $(call KernelPackage,pcengines-apuv2))
  126. define KernelPackage/meraki-mx100
  127. SUBMENU:=$(OTHER_MENU)
  128. TITLE:=Cisco Meraki MX100 Platform Driver
  129. DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
  130. +kmod-usb-ledtrig-usbport +PACKAGE_kmod-meraki-mx100:nu801 +kmod-itco-wdt \
  131. +kmod-leds-uleds
  132. KCONFIG:=CONFIG_MERAKI_MX100
  133. FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
  134. AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
  135. endef
  136. define KernelPackage/meraki-mx100/description
  137. This driver provides support for the front button and LEDs on
  138. the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
  139. selects the gpio-cdev nu801 userspace driver to support the Status
  140. LED, as well as other required platform drivers.
  141. endef
  142. $(eval $(call KernelPackage,meraki-mx100))
  143. define KernelPackage/w83627hf-wdt
  144. SUBMENU:=$(OTHER_MENU)
  145. TITLE:=Winbond 83627HF Watchdog Timer
  146. DEPENDS:=@TARGET_x86
  147. KCONFIG:=\
  148. CONFIG_W83627HF_WDT \
  149. ONFIG_WATCHDOG_CORE=y
  150. FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
  151. AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
  152. endef
  153. define KernelPackage/w83627hf-wdt/description
  154. Kernel module for Winbond 83627HF Watchdog Timer
  155. endef
  156. $(eval $(call KernelPackage,w83627hf-wdt))