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
42 KCONFIG
:=CONFIG_F71808E_WDT
43 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/f71808e_wdt.ko
44 AUTOLOAD
:=$(call AutoProbe
,f71808e-wdt
,1)
47 define KernelPackage
/f71808e-wdt
/description
48 Kernel module for the watchdog timer found on many Fintek Super-IO chips.
51 $(eval
$(call KernelPackage
,f71808e-wdt
))
54 define KernelPackage
/sound-cs5535audio
55 TITLE
:=CS5535
/CS5536 Audio Controller
56 DEPENDS
:=@TARGET_x86_geode
+kmod-ac97
57 KCONFIG
:=CONFIG_SND_CS5535AUDIO
58 FILES
:=$(LINUX_DIR
)/sound
/pci
/cs5535audio
/snd-cs5535audio.ko
59 AUTOLOAD
:=$(call AutoLoad
,36,snd-cs5535audio
)
60 $(call AddDepends
/sound
)
63 define KernelPackage
/sound-cs5535audio
/description
64 Support for the integrated AC97 sound device on motherboards
65 with AMD CS5535
/CS5536 chipsets.
68 $(eval
$(call KernelPackage
,sound-cs5535audio
))
70 define KernelPackage
/sp5100-tco
71 SUBMENU
:=$(OTHER_MENU
)
72 TITLE
:=SP5100 Watchdog Support
74 KCONFIG
:=CONFIG_SP5100_TCO
75 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/sp5100_tco.ko
76 AUTOLOAD
:=$(call AutoLoad
,50,sp5100_tco
,1)
79 define KernelPackage
/sp5100-tco
/description
80 Kernel module for the SP5100_TCO hardware watchdog.
83 $(eval
$(call KernelPackage
,sp5100-tco
))
86 define KernelPackage
/ib700-wdt
87 SUBMENU
:=$(OTHER_MENU
)
88 TITLE
:=IB700 SBC Watchdog Timer
90 KCONFIG
:=CONFIG_IB700_WDT
91 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/ib700wdt.ko
92 AUTOLOAD
:=$(call AutoLoad
,50,ib700wdt
,1)
95 define KernelPackage
/ib700-wdt
/description
96 Kernel module for the hardware watchdog on the IB700 Single
97 Board Computer produced by TMC Technology
(www.tmc-uk.com
).
98 Also used by QEMU
/libvirt.
101 $(eval
$(call KernelPackage
,ib700-wdt
))
103 define KernelPackage
/it87-wdt
104 SUBMENU
:=$(OTHER_MENU
)
105 TITLE
:=ITE IT87 Watchdog Timer
107 KCONFIG
:=CONFIG_IT87_WDT
108 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/it87_wdt.ko
109 AUTOLOAD
:=$(call AutoLoad
,50,it87-wdt
,1)
110 MODPARAMS.it87-wdt
:= \
115 define KernelPackage
/it87-wdt
/description
116 Kernel module for ITE IT87 Watchdog Timer
119 $(eval
$(call KernelPackage
,it87-wdt
))
122 define KernelPackage
/itco-wdt
123 SUBMENU
:=$(OTHER_MENU
)
124 TITLE
:=Intel iTCO Watchdog Timer
126 KCONFIG
:=CONFIG_ITCO_WDT \
127 CONFIG_ITCO_VENDOR_SUPPORT
=y
128 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/iTCO_wdt.ko \
129 $(LINUX_DIR
)/drivers
/watchdog
/iTCO_vendor_support.ko
130 AUTOLOAD
:=$(call AutoLoad
,50,iTCO_vendor_support iTCO_wdt
,1)
133 define KernelPackage
/itco-wdt
/description
134 Kernel module for Intel iTCO Watchdog Timer
137 $(eval
$(call KernelPackage
,itco-wdt
))
140 define KernelPackage
/pcengines-apuv2
141 SUBMENU
:=$(OTHER_MENU
)
142 TITLE
:=PC Engines APUv2
/3 front button and LEDs driver
143 DEPENDS
:=@TARGET_x86
+kmod-gpio-amd-fch
+kmod-leds-gpio
144 KCONFIG
:=CONFIG_PCENGINES_APU2
145 FILES
:=$(LINUX_DIR
)/drivers
/platform
/x86
/pcengines-apuv2.ko
146 AUTOLOAD
:=$(call AutoLoad
,60,pcengines-apuv2
)
149 define KernelPackage
/pcengines-apuv2
/description
150 This driver provides support for the front button and LEDs on
151 PC Engines APUv2
/APUv3 board.
154 $(eval
$(call KernelPackage
,pcengines-apuv2
))
157 define KernelPackage
/meraki-mx100
158 SUBMENU
:=$(OTHER_MENU
)
159 TITLE
:=Cisco Meraki MX100 Platform Driver
160 DEPENDS
:=@TARGET_x86
+kmod-tg3
+kmod-gpio-button-hotplug
+kmod-leds-gpio \
161 +kmod-usb-ledtrig-usbport
+PACKAGE_kmod-meraki-mx100
:nu801
+kmod-itco-wdt \
163 KCONFIG
:=CONFIG_MERAKI_MX100
164 FILES
:=$(LINUX_DIR
)/drivers
/platform
/x86
/meraki-mx100.ko
165 AUTOLOAD
:=$(call AutoLoad
,60,meraki-mx100
,1)
168 define KernelPackage
/meraki-mx100
/description
169 This driver provides support for the front button and LEDs on
170 the Cisco Meraki MX100
(Tinkerbell
) 1U appliance. Note this also
171 selects the gpio-cdev nu801 userspace driver to support the Status
172 LED
, as well
as other required platform drivers.
175 $(eval
$(call KernelPackage
,meraki-mx100
))
177 define KernelPackage
/w83627hf-wdt
178 SUBMENU
:=$(OTHER_MENU
)
179 TITLE
:=Winbond
83627HF Watchdog Timer
181 KCONFIG
:=CONFIG_W83627HF_WDT
182 FILES
:=$(LINUX_DIR
)/drivers
/watchdog
/w83627hf_wdt.ko
183 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf-wdt
,1)
186 define KernelPackage
/w83627hf-wdt
/description
187 Kernel module for Winbond
83627HF Watchdog Timer
190 $(eval
$(call KernelPackage
,w83627hf-wdt
))