28cb276f7ec481f047cdd463aaf71f780730d888
[openwrt/staging/jow.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||LINUX_5_15):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/f71808e-wdt
39 SUBMENU:=$(OTHER_MENU)
40 TITLE:=Fintek F718xx/F818xx Watchdog Timer
41 DEPENDS:=@TARGET_x86
42 KCONFIG:=CONFIG_F71808E_WDT
43 FILES:=$(LINUX_DIR)/drivers/watchdog/f71808e_wdt.ko
44 AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
45 endef
46
47 define KernelPackage/f71808e-wdt/description
48 Kernel module for the watchdog timer found on many Fintek Super-IO chips.
49 endef
50
51 $(eval $(call KernelPackage,f71808e-wdt))
52
53
54 define KernelPackage/sound-cs5535audio
55 TITLE:=CS5535/CS5536 Audio Controller
56 DEPENDS:=@TARGET_x86_geode +kmod-ac97
57 KCONFIG:=CONFIG_SND_CS5535AUDIO
58 FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
59 AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
60 $(call AddDepends/sound)
61 endef
62
63 define KernelPackage/sound-cs5535audio/description
64 Support for the integrated AC97 sound device on motherboards
65 with AMD CS5535/CS5536 chipsets.
66 endef
67
68 $(eval $(call KernelPackage,sound-cs5535audio))
69
70 define KernelPackage/sp5100-tco
71 SUBMENU:=$(OTHER_MENU)
72 TITLE:=SP5100 Watchdog Support
73 DEPENDS:=@TARGET_x86
74 KCONFIG:=CONFIG_SP5100_TCO
75 FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
76 AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
77 endef
78
79 define KernelPackage/sp5100-tco/description
80 Kernel module for the SP5100_TCO hardware watchdog.
81 endef
82
83 $(eval $(call KernelPackage,sp5100-tco))
84
85
86 define KernelPackage/ib700-wdt
87 SUBMENU:=$(OTHER_MENU)
88 TITLE:=IB700 SBC Watchdog Timer
89 DEPENDS:=@TARGET_x86
90 KCONFIG:=CONFIG_IB700_WDT
91 FILES:=$(LINUX_DIR)/drivers/watchdog/ib700wdt.ko
92 AUTOLOAD:=$(call AutoLoad,50,ib700wdt,1)
93 endef
94
95 define KernelPackage/ib700-wdt/description
96 Kernel module for the hardware watchdog on the IB700 Single
97 Board Computer produced by TMC Technology (www.tmc-uk.com).
98 Also used by QEMU/libvirt.
99 endef
100
101 $(eval $(call KernelPackage,ib700-wdt))
102
103 define KernelPackage/it87-wdt
104 SUBMENU:=$(OTHER_MENU)
105 TITLE:=ITE IT87 Watchdog Timer
106 DEPENDS:=@TARGET_x86
107 KCONFIG:=CONFIG_IT87_WDT
108 FILES:=$(LINUX_DIR)/drivers/watchdog/it87_wdt.ko
109 AUTOLOAD:=$(call AutoLoad,50,it87-wdt,1)
110 MODPARAMS.it87-wdt:= \
111 nogameport=1 \
112 nocir=1
113 endef
114
115 define KernelPackage/it87-wdt/description
116 Kernel module for ITE IT87 Watchdog Timer
117 endef
118
119 $(eval $(call KernelPackage,it87-wdt))
120
121
122 define KernelPackage/itco-wdt
123 SUBMENU:=$(OTHER_MENU)
124 TITLE:=Intel iTCO Watchdog Timer
125 DEPENDS:=@TARGET_x86
126 KCONFIG:=CONFIG_ITCO_WDT \
127 CONFIG_ITCO_VENDOR_SUPPORT=y
128 FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
129 $(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
130 AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
131 endef
132
133 define KernelPackage/itco-wdt/description
134 Kernel module for Intel iTCO Watchdog Timer
135 endef
136
137 $(eval $(call KernelPackage,itco-wdt))
138
139
140 define KernelPackage/pcengines-apuv2
141 SUBMENU:=$(OTHER_MENU)
142 TITLE:=PC Engines APUv2/3 front button and LEDs driver
143 DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
144 KCONFIG:=CONFIG_PCENGINES_APU2
145 FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
146 AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
147 endef
148
149 define KernelPackage/pcengines-apuv2/description
150 This driver provides support for the front button and LEDs on
151 PC Engines APUv2/APUv3 board.
152 endef
153
154 $(eval $(call KernelPackage,pcengines-apuv2))
155
156
157 define KernelPackage/meraki-mx100
158 SUBMENU:=$(OTHER_MENU)
159 TITLE:=Cisco Meraki MX100 Platform Driver
160 DEPENDS:=@TARGET_x86 +kmod-tg3 +kmod-gpio-button-hotplug +kmod-leds-gpio \
161 +kmod-usb-ledtrig-usbport +PACKAGE_kmod-meraki-mx100:nu801 +kmod-itco-wdt \
162 +kmod-leds-uleds
163 KCONFIG:=CONFIG_MERAKI_MX100
164 FILES:=$(LINUX_DIR)/drivers/platform/x86/meraki-mx100.ko
165 AUTOLOAD:=$(call AutoLoad,60,meraki-mx100,1)
166 endef
167
168 define KernelPackage/meraki-mx100/description
169 This driver provides support for the front button and LEDs on
170 the Cisco Meraki MX100 (Tinkerbell) 1U appliance. Note this also
171 selects the gpio-cdev nu801 userspace driver to support the Status
172 LED, as well as other required platform drivers.
173 endef
174
175 $(eval $(call KernelPackage,meraki-mx100))
176
177 define KernelPackage/w83627hf-wdt
178 SUBMENU:=$(OTHER_MENU)
179 TITLE:=Winbond 83627HF Watchdog Timer
180 DEPENDS:=@TARGET_x86
181 KCONFIG:=CONFIG_W83627HF_WDT
182 FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
183 AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
184 endef
185
186 define KernelPackage/w83627hf-wdt/description
187 Kernel module for Winbond 83627HF Watchdog Timer
188 endef
189
190 $(eval $(call KernelPackage,w83627hf-wdt))