modules.mk 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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/pcengines-apuv2
  55. SUBMENU:=$(OTHER_MENU)
  56. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  57. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  58. KCONFIG:=CONFIG_PCENGINES_APU2
  59. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  60. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  61. endef
  62. define KernelPackage/pcengines-apuv2/description
  63. This driver provides support for the front button and LEDs on
  64. PC Engines APUv2/APUv3 board.
  65. endef
  66. $(eval $(call KernelPackage,pcengines-apuv2))
  67. define KernelPackage/meraki-mx100
  68. SUBMENU:=$(OTHER_MENU)
  69. TITLE:=Cisco Meraki MX100 Platform Driver
  70. DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
  71. +kmod-usb-ledtrig-usbport +nu801 +kmod-itco-wdt +kmod-leds-uleds
  72. KCONFIG:=CONFIG_MERAKI_MX100
  73. FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
  74. AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
  75. endef
  76. define KernelPackage/meraki-mx100/description
  77. This driver provides support for the front button and LEDs on
  78. the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
  79. selects the gpio-cdev nu801 userspace driver to support the Status
  80. LED, as well as other required platform drivers.
  81. endef
  82. $(eval $(call KernelPackage,meraki-mx100))