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