[PATCH 4/4] bcm53xx: Add network configuration for DIR-890L

Linus Walleij linus.walleij at linaro.org
Sat May 13 14:21:37 PDT 2023


This adds the lan/wan default bridge config and also the MAC
NVRAM read-out for et2.

DIR-885L was missing a default bridge config so I just added
that too while I was at it.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 target/linux/bcm53xx/base-files/etc/board.d/02_network | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index 6bec600540ea..35b1efc91323 100644
--- a/target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network
@@ -16,6 +16,10 @@ bcm53xx_setup_interfaces()
 	asus,rt-ac88u)
 		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 extsw" "wan"
 		;;
+	dlink,dir-885l | \
+	dlink,dir-890l)
+		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
+		;;
 	dlink,dwl-8610ap)
 		ucidef_set_interface_lan "eth0 eth1" "dhcp"
 		;;
@@ -50,6 +54,7 @@ bcm53xx_setup_macs()
 		offset=1
 		;;
 	dlink,dir-885l | \
+	dlink,dir-890l | \
 	linksys,panamera | \
 	netgear,r7900 | \
 	netgear,r8000 | \
-- 
2.34.1




More information about the openwrt-devel mailing list