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