1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
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
)
14 define KernelPackage
/amd-xgbe
/description
15 Kernel modules for AMD
10GbE Ethernet device on an AMD SoC.
18 $(eval
$(call KernelPackage
,amd-xgbe
))
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
)
30 $(eval
$(call KernelPackage
,dwmac-intel
))
33 define KernelPackage
/f71808e-wdt
34 SUBMENU
:=$(OTHER_MENU
)
35 TITLE
:=Fintek F718xx
/F818xx Watchdog Timer
39 CONFIG_WATCHDOG_CORE
=y
40 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/f71808e_wdt.ko
41 AUTOLOAD
:=$(call AutoProbe
,f71808e-wdt
,1)
44 define KernelPackage
/f71808e-wdt
/description
45 Kernel module for the watchdog timer found on many Fintek Super-IO chips.
48 $(eval
$(call KernelPackage
,f71808e-wdt
))
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
)
60 define KernelPackage
/sound-cs5535audio
/description
61 Support for the integrated AC97 sound device on motherboards
62 with AMD CS5535
/CS5536 chipsets.
65 $(eval
$(call KernelPackage
,sound-cs5535audio
))
67 define KernelPackage
/sp5100-tco
68 SUBMENU
:=$(OTHER_MENU
)
69 TITLE
:=SP5100 Watchdog Support
71 KCONFIG
:=CONFIG_SP5100_TCO
72 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/sp5100_tco.ko
73 AUTOLOAD
:=$(call AutoLoad
,50,sp5100_tco
,1)
76 define KernelPackage
/sp5100-tco
/description
77 Kernel module for the SP5100_TCO hardware watchdog.
80 $(eval
$(call KernelPackage
,sp5100-tco
))
83 define KernelPackage
/ib700-wdt
84 SUBMENU
:=$(OTHER_MENU
)
85 TITLE
:=IB700 SBC Watchdog Timer
87 KCONFIG
:=CONFIG_IB700_WDT
88 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/ib700wdt.ko
89 AUTOLOAD
:=$(call AutoLoad
,50,ib700wdt
,1)
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.
98 $(eval
$(call KernelPackage
,ib700-wdt
))
100 define KernelPackage
/it87-wdt
101 SUBMENU
:=$(OTHER_MENU
)
102 TITLE
:=ITE IT87 Watchdog Timer
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
:= \
112 define KernelPackage
/it87-wdt
/description
113 Kernel module for ITE IT87 Watchdog Timer
116 $(eval
$(call KernelPackage
,it87-wdt
))
119 define KernelPackage
/itco-wdt
120 SUBMENU
:=$(OTHER_MENU
)
121 TITLE
:=Intel iTCO Watchdog Timer
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)
132 define KernelPackage
/itco-wdt
/description
133 Kernel module for Intel iTCO Watchdog Timer
136 $(eval
$(call KernelPackage
,itco-wdt
))
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
)
148 define KernelPackage
/pcengines-apuv2
/description
149 This driver provides support for the front button and LEDs on
150 PC Engines APUv2
/APUv3 board.
153 $(eval
$(call KernelPackage
,pcengines-apuv2
))
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 \
162 KCONFIG
:=CONFIG_MERAKI_MX100
163 FILES
:=$(LINUX_DIR
)/drivers
/platform
/x86
/meraki-mx100.ko
164 AUTOLOAD
:=$(call AutoLoad
,60,meraki-mx100
,1)
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.
174 $(eval
$(call KernelPackage
,meraki-mx100
))
176 define KernelPackage
/w83627hf-wdt
177 SUBMENU
:=$(OTHER_MENU
)
178 TITLE
:=Winbond
83627HF Watchdog Timer
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)
187 define KernelPackage
/w83627hf-wdt
/description
188 Kernel module for Winbond
83627HF Watchdog Timer
191 $(eval
$(call KernelPackage
,w83627hf-wdt
))