summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/kernel/linux/modules/netdevices.mk2
-rw-r--r--target/linux/x86/image/64.mk2
-rw-r--r--target/linux/x86/modules.mk12
3 files changed, 14 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index f44cbd24f7..d357b233f2 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -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 \
diff --git a/target/linux/x86/image/64.mk b/target/linux/x86/image/64.mk
index 718ff4f63d..f3d795ea22 100644
--- a/target/linux/x86/image/64.mk
+++ b/target/linux/x86/image/64.mk
@@ -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 \
diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
index 511410d614..cdae01bce6 100644
--- a/target/linux/x86/modules.mk
+++ b/target/linux/x86/modules.mk
@@ -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