[source] ramips: fix switch port mapping for ZBT-WE2026

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 20 00:34:59 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/6b9c25e927d25e69f028efd7208b3f37f9b31626

commit 6b9c25e927d25e69f028efd7208b3f37f9b31626
Author: Vaclav Svoboda <svoboda at neng.cz>
AuthorDate: Sat Mar 18 17:11:14 2017 +0100

    ramips: fix switch port mapping for ZBT-WE2026
    
    This patch fixes switch port mapping for Zbtlink ZBT-WE2026.
    
    Signed-off-by: Vaclav Svoboda <svoboda at neng.cz>
---
 target/linux/ramips/base-files/etc/board.d/02_network | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 84564c9..7bdebbe 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -33,7 +33,8 @@ ramips_setup_interfaces()
 
 	case $board in
 	11acnas|\
-	w2914nsv2)
+	w2914nsv2|\
+	zbt-we2026)
 		ucidef_add_switch "switch0" \
 			"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6 at eth0"
 		;;
@@ -107,7 +108,6 @@ ramips_setup_interfaces()
 	y1|\
 	youku-yk1|\
 	zbt-ape522ii|\
-	zbt-we2026|\
 	zbt-we826|\
 	zbt-wg2626|\
 	zbt-wg3526|\



More information about the lede-commits mailing list