1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
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
)
14 define KernelPackage
/amazon-ena
/description
15 This driver supports Elastic Network Adapter
(ENA
)
16 used by Amazon AWS T3 instances.
19 $(eval
$(call KernelPackage
,amazon-ena
))
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
)
31 define KernelPackage
/amd-xgbe
/description
32 Kernel modules for AMD
10GbE Ethernet device on an AMD SoC.
35 $(eval
$(call KernelPackage
,amd-xgbe
))
38 define KernelPackage
/f71808e-wdt
39 SUBMENU
:=$(OTHER_MENU
)
40 TITLE
:=Fintek F718xx
/F818xx Watchdog Timer
44 CONFIG_WATCHDOG_CORE
=y
45 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/f71808e_wdt.ko
46 AUTOLOAD
:=$(call AutoProbe
,f71808e-wdt
,1)
49 define KernelPackage
/f71808e-wdt
/description
50 Kernel module for the watchdog timer found on many Fintek Super-IO chips.
53 $(eval
$(call KernelPackage
,f71808e-wdt
))
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
)
65 define KernelPackage
/sound-cs5535audio
/description
66 Support for the integrated AC97 sound device on motherboards
67 with AMD CS5535
/CS5536 chipsets.
70 $(eval
$(call KernelPackage
,sound-cs5535audio
))
72 define KernelPackage
/sp5100-tco
73 SUBMENU
:=$(OTHER_MENU
)
74 TITLE
:=SP5100 Watchdog Support
76 KCONFIG
:=CONFIG_SP5100_TCO
77 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/sp5100_tco.ko
78 AUTOLOAD
:=$(call AutoLoad
,50,sp5100_tco
,1)
81 define KernelPackage
/sp5100-tco
/description
82 Kernel module for the SP5100_TCO hardware watchdog.
85 $(eval
$(call KernelPackage
,sp5100-tco
))
88 define KernelPackage
/ib700-wdt
89 SUBMENU
:=$(OTHER_MENU
)
90 TITLE
:=IB700 SBC Watchdog Timer
92 KCONFIG
:=CONFIG_IB700_WDT
93 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/ib700wdt.ko
94 AUTOLOAD
:=$(call AutoLoad
,50,ib700wdt
,1)
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.
103 $(eval
$(call KernelPackage
,ib700-wdt
))
105 define KernelPackage
/it87-wdt
106 SUBMENU
:=$(OTHER_MENU
)
107 TITLE
:=ITE IT87 Watchdog Timer
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
:= \
117 define KernelPackage
/it87-wdt
/description
118 Kernel module for ITE IT87 Watchdog Timer
121 $(eval
$(call KernelPackage
,it87-wdt
))
124 define KernelPackage
/itco-wdt
125 SUBMENU
:=$(OTHER_MENU
)
126 TITLE
:=Intel iTCO Watchdog Timer
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)
137 define KernelPackage
/itco-wdt
/description
138 Kernel module for Intel iTCO Watchdog Timer
141 $(eval
$(call KernelPackage
,itco-wdt
))
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
)
153 define KernelPackage
/pcengines-apuv2
/description
154 This driver provides support for the front button and LEDs on
155 PC Engines APUv2
/APUv3 board.
158 $(eval
$(call KernelPackage
,pcengines-apuv2
))
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 \
167 KCONFIG
:=CONFIG_MERAKI_MX100
168 FILES
:=$(LINUX_DIR
)/drivers
/platform
/x86
/meraki-mx100.ko
169 AUTOLOAD
:=$(call AutoLoad
,60,meraki-mx100
,1)
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.
179 $(eval
$(call KernelPackage
,meraki-mx100
))
181 define KernelPackage
/w83627hf-wdt
182 SUBMENU
:=$(OTHER_MENU
)
183 TITLE
:=Winbond
83627HF Watchdog Timer
186 CONFIG_W83627HF_WDT \
187 ONFIG_WATCHDOG_CORE
=y
188 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/w83627hf_wdt.ko
189 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf-wdt
,1)
192 define KernelPackage
/w83627hf-wdt
/description
193 Kernel module for Winbond
83627HF Watchdog Timer
196 $(eval
$(call KernelPackage
,w83627hf-wdt
))