modules.mk 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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/sound-cs5535audio
  30. TITLE:=CS5535/CS5536 Audio Controller
  31. DEPENDS:=@TARGET_x86_geode +kmod-ac97
  32. KCONFIG:=CONFIG_SND_CS5535AUDIO
  33. FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
  34. AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
  35. $(call AddDepends/sound)
  36. endef
  37. define KernelPackage/sound-cs5535audio/description
  38. Support for the integrated AC97 sound device on motherboards
  39. with AMD CS5535/CS5536 chipsets.
  40. endef
  41. $(eval $(call KernelPackage,sound-cs5535audio))
  42. define KernelPackage/sp5100-tco
  43. SUBMENU:=$(OTHER_MENU)
  44. TITLE:=SP5100 Watchdog Support
  45. DEPENDS:=@TARGET_x86
  46. KCONFIG:=CONFIG_SP5100_TCO
  47. FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
  48. AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
  49. endef
  50. define KernelPackage/sp5100-tco/description
  51. Kernel module for the SP5100_TCO hardware watchdog.
  52. endef
  53. $(eval $(call KernelPackage,sp5100-tco))
  54. define KernelPackage/ib700-wdt
  55. SUBMENU:=$(OTHER_MENU)
  56. TITLE:=IB700 SBC Watchdog Timer
  57. DEPENDS:=@TARGET_x86
  58. KCONFIG:=CONFIG_IB700_WDT
  59. FILES:=$(LINUX_DIR)/drivers/watchdog/ib700wdt.ko
  60. AUTOLOAD:=$(call AutoLoad,50,ib700wdt,1)
  61. endef
  62. define KernelPackage/ib700-wdt/description
  63. Kernel module for the hardware watchdog on the IB700 Single
  64. Board Computer produced by TMC Technology (www.tmc-uk.com).
  65. Also used by QEMU/libvirt.
  66. endef
  67. $(eval $(call KernelPackage,ib700-wdt))
  68. define KernelPackage/pcengines-apuv2
  69. SUBMENU:=$(OTHER_MENU)
  70. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  71. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  72. KCONFIG:=CONFIG_PCENGINES_APU2
  73. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  74. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  75. endef
  76. define KernelPackage/pcengines-apuv2/description
  77. This driver provides support for the front button and LEDs on
  78. PC Engines APUv2/APUv3 board.
  79. endef
  80. $(eval $(call KernelPackage,pcengines-apuv2))
  81. define KernelPackage/meraki-mx100
  82. SUBMENU:=$(OTHER_MENU)
  83. TITLE:=Cisco Meraki MX100 Platform Driver
  84. DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
  85. +kmod-usb-ledtrig-usbport +PACKAGE_kmod-meraki-mx100:nu801 +kmod-itco-wdt \
  86. +kmod-leds-uleds
  87. KCONFIG:=CONFIG_MERAKI_MX100
  88. FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
  89. AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
  90. endef
  91. define KernelPackage/meraki-mx100/description
  92. This driver provides support for the front button and LEDs on
  93. the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
  94. selects the gpio-cdev nu801 userspace driver to support the Status
  95. LED, as well as other required platform drivers.
  96. endef
  97. $(eval $(call KernelPackage,meraki-mx100))