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