aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/armvirt/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/armvirt/modules.mk')
-rw-r--r--target/linux/armvirt/modules.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/armvirt/modules.mk b/target/linux/armvirt/modules.mk
index 5c863824d37..c59301aae7e 100644
--- a/target/linux/armvirt/modules.mk
+++ b/target/linux/armvirt/modules.mk
@@ -245,6 +245,17 @@ endef
$(eval $(call KernelPackage,dwmac-sun8i))
+define KernelPackage/dwmac-rockchip
+ SUBMENU=$(NETWORK_DEVICES_MENU)
+ TITLE:=Rockchip RK3328/RK3399/RK3568 Ethernet
+ DEPENDS:=+kmod-stmmac-core +kmod-mdio-bus-mux
+ KCONFIG:=CONFIG_DWMAC_ROCKCHIP
+ FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.ko
+ AUTOLOAD=$(call AutoLoad,45,dwmac-rk)
+endef
+
+$(eval $(call KernelPackage,dwmac-rockchip))
+
define KernelPackage/thunderx-net
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Marvell (Cavium) ThunderX/2 network drivers