modules.mk 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2017 Cezary Jackiewicz <[email protected]>
  4. define KernelPackage/amd-xgbe
  5. SUBMENU:=$(NETWORK_DEVICES_MENU)
  6. TITLE:=AMD Ethernet on SoC support
  7. DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +kmod-mdio-devres
  8. KCONFIG:= \
  9. CONFIG_AMD_XGBE \
  10. CONFIG_AMD_XGBE_DCB=y
  11. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
  12. AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)
  13. endef
  14. define KernelPackage/amd-xgbe/description
  15. Kernel modules for AMD 10GbE Ethernet device on an AMD SoC.
  16. endef
  17. $(eval $(call KernelPackage,amd-xgbe))
  18. define KernelPackage/dwmac-intel
  19. SUBMENU:=$(NETWORK_DEVICES_MENU)
  20. TITLE:=Intel GMAC support
  21. DEPENDS:=@TARGET_x86_64 +kmod-stmmac-core
  22. KCONFIG:=CONFIG_DWMAC_INTEL
  23. FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.ko
  24. AUTOLOAD=$(call AutoLoad,45,dwmac-intel)
  25. endef
  26. $(eval $(call KernelPackage,dwmac-intel))
  27. define KernelPackage/f71808e-wdt
  28. SUBMENU:=$(OTHER_MENU)
  29. TITLE:=Fintek F718xx/F818xx Watchdog Timer
  30. DEPENDS:=@TARGET_x86
  31. KCONFIG:=\
  32. CONFIG_F71808E_WDT \
  33. CONFIG_WATCHDOG_CORE=y
  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:=\
  100. CONFIG_ITCO_WDT \
  101. CONFIG_ITCO_VENDOR_SUPPORT=y \
  102. CONFIG_WATCHDOG_CORE=y
  103. FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
  104. $(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
  105. AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
  106. endef
  107. define KernelPackage/itco-wdt/description
  108. Kernel module for Intel iTCO Watchdog Timer
  109. endef
  110. $(eval $(call KernelPackage,itco-wdt))
  111. define KernelPackage/pcengines-apuv2
  112. SUBMENU:=$(OTHER_MENU)
  113. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  114. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  115. KCONFIG:=CONFIG_PCENGINES_APU2
  116. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  117. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  118. endef
  119. define KernelPackage/pcengines-apuv2/description
  120. This driver provides support for the front button and LEDs on
  121. PC Engines APUv2/APUv3 board.
  122. endef
  123. $(eval $(call KernelPackage,pcengines-apuv2))
  124. define KernelPackage/meraki-mx100
  125. SUBMENU:=$(OTHER_MENU)
  126. TITLE:=Cisco Meraki MX100 Platform Driver
  127. DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
  128. +kmod-usb-ledtrig-usbport +PACKAGE_kmod-meraki-mx100:nu801 +kmod-itco-wdt \
  129. +kmod-leds-uleds
  130. KCONFIG:=CONFIG_MERAKI_MX100
  131. FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
  132. AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
  133. endef
  134. define KernelPackage/meraki-mx100/description
  135. This driver provides support for the front button and LEDs on
  136. the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
  137. selects the gpio-cdev nu801 userspace driver to support the Status
  138. LED, as well as other required platform drivers.
  139. endef
  140. $(eval $(call KernelPackage,meraki-mx100))
  141. define KernelPackage/w83627hf-wdt
  142. SUBMENU:=$(OTHER_MENU)
  143. TITLE:=Winbond 83627HF Watchdog Timer
  144. DEPENDS:=@TARGET_x86
  145. KCONFIG:=\
  146. CONFIG_W83627HF_WDT \
  147. CONFIG_WATCHDOG_CORE=y
  148. FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
  149. AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
  150. endef
  151. define KernelPackage/w83627hf-wdt/description
  152. Kernel module for Winbond 83627HF Watchdog Timer
  153. endef
  154. $(eval $(call KernelPackage,w83627hf-wdt))