modules.mk 5.0 KB

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