x86: Add kmod-dwmac-intel

This adds the Intel Ethernet driver for the Intel Quark/EHL/TGL chips.

Fixes: #13994
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2023-11-26 23:59:54 +01:00
parent 1816e53062
commit 4b4c940fbc
3 changed files with 14 additions and 2 deletions

View File

@ -1546,7 +1546,7 @@ $(eval $(call KernelPackage,sfp))
define KernelPackage/stmmac-core
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
DEPENDS:=@(TARGET_armsr_armv8) +kmod-pcs-xpcs +kmod-ptp \
DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8 +kmod-pcs-xpcs +kmod-ptp \
+kmod-of-mdio
KCONFIG:=CONFIG_STMMAC_ETH \
CONFIG_STMMAC_SELFTESTS=n \

View File

@ -2,7 +2,7 @@ define Device/generic
DEVICE_VENDOR := Generic
DEVICE_MODEL := x86/64
DEVICE_PACKAGES += \
kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-e1000e kmod-e1000 \
kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-dwmac-intel kmod-e1000e kmod-e1000 \
kmod-forcedeth kmod-fs-vfat kmod-igb kmod-igc kmod-ixgbe kmod-r8169 \
kmod-tg3 kmod-mlxsw-core kmod-mlxsw-pci kmod-mlxsw-i2c \
kmod-mlxsw-spectrum kmod-mlxsw-minimal kmod-mlxfw \

View File

@ -18,6 +18,18 @@ endef
$(eval $(call KernelPackage,amd-xgbe))
define KernelPackage/dwmac-intel
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel GMAC support
DEPENDS:=@TARGET_x86_64 +kmod-stmmac-core
KCONFIG:=CONFIG_DWMAC_INTEL
FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.ko
AUTOLOAD=$(call AutoLoad,45,dwmac-intel)
endef
$(eval $(call KernelPackage,dwmac-intel))
define KernelPackage/f71808e-wdt
SUBMENU:=$(OTHER_MENU)
TITLE:=Fintek F718xx/F818xx Watchdog Timer