4005ee97ef098c4cc91083a243cfa80c41f95b0d
[openwrt/openwrt.git] / target / linux / x86 / modules.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
4
5 define KernelPackage/amazon-ena
6 SUBMENU:=$(NETWORK_DEVICES_MENU)
7 TITLE:=Elastic Network Adapter (for Amazon AWS T3)
8 DEPENDS:=@TARGET_x86_64
9 KCONFIG:=CONFIG_ENA_ETHERNET
10 FILES:=$(LINUX_DIR)/drivers/net/ethernet/amazon/ena/ena.ko
11 AUTOLOAD:=$(call AutoLoad,12,ena)
12 endef
13
14 define KernelPackage/amazon-ena/description
15 This driver supports Elastic Network Adapter (ENA)
16 used by Amazon AWS T3 instances.
17 endef
18
19 $(eval $(call KernelPackage,amazon-ena))
20
21
22 define KernelPackage/amd-xgbe
23 SUBMENU:=$(NETWORK_DEVICES_MENU)
24 TITLE:=AMD Ethernet on SoC support
25 DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +LINUX_5_10:kmod-mdio-devres
26 KCONFIG:=CONFIG_AMD_XGBE
27 FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
28 AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)
29 endef
30
31 define KernelPackage/amd-xgbe/description
32 Kernel modules for AMD 10GbE Ethernet device on an AMD SoC.
33 endef
34
35 $(eval $(call KernelPackage,amd-xgbe))
36
37
38 define KernelPackage/sound-cs5535audio
39 TITLE:=CS5535/CS5536 Audio Controller
40 DEPENDS:=@TARGET_x86_geode +kmod-ac97
41 KCONFIG:=CONFIG_SND_CS5535AUDIO
42 FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
43 AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
44 $(call AddDepends/sound)
45 endef
46
47 define KernelPackage/sound-cs5535audio/description
48 Support for the integrated AC97 sound device on motherboards
49 with AMD CS5535/CS5536 chipsets.
50 endef
51
52 $(eval $(call KernelPackage,sound-cs5535audio))
53
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
63 define KernelPackage/sp5100-tco/description
64 Kernel module for the SP5100_TCO hardware watchdog.
65 endef
66
67 $(eval $(call KernelPackage,sp5100-tco))
68
69
70 define KernelPackage/pcengines-apuv2
71 SUBMENU:=$(OTHER_MENU)
72 TITLE:=PC Engines APUv2/3 front button and LEDs driver
73 DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
74 KCONFIG:=CONFIG_PCENGINES_APU2
75 FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
76 AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
77 endef
78
79 define KernelPackage/pcengines-apuv2/description
80 This driver provides support for the front button and LEDs on
81 PC Engines APUv2/APUv3 board.
82 endef
83
84 $(eval $(call KernelPackage,pcengines-apuv2))
85
86
87 define KernelPackage/meraki-mx100
88 SUBMENU:=$(OTHER_MENU)
89 TITLE:=Cisco Meraki MX100 Platform Driver
90 DEPENDS:=@TARGET_x86 @!LINUX_5_4 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
91 +kmod-usb-ledtrig-usbport +kmod-itco-wdt
92 KCONFIG:=CONFIG_MERAKI_MX100
93 FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
94 AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
95 endef
96
97 define KernelPackage/meraki-mx100/description
98 This driver provides support for the front button and LEDs on
99 the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
100 selects the gpio-cdev nu801 userspace driver to support the Status
101 LED, as well as other required platform drivers.
102 endef
103
104 $(eval $(call KernelPackage,meraki-mx100))