[source] ramips: fix Linksys RE6500 switch port mapping

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 7 08:39:26 PST 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/2543e986ad357eb0301b4643184c917d42ec30bf

commit 2543e986ad357eb0301b4643184c917d42ec30bf
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Mar 7 17:38:30 2017 +0100

    ramips: fix Linksys RE6500 switch port mapping
    
    Properly map the internal switch ports to the proper LAN1..LAN4 labels.
    
    Fixes #530.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 target/linux/ramips/base-files/etc/board.d/02_network | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 c67f3d5..9d3a9de 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -128,7 +128,6 @@ ramips_setup_interfaces()
 			"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5 at eth0"
 		;;
 	asl26555|\
-	re6500|\
 	rp-n53)
 		ucidef_add_switch "switch0" \
 			"1:lan" "2:lan" "3:lan" "4:lan" "6t at eth0"
@@ -243,6 +242,10 @@ ramips_setup_interfaces()
 		ucidef_add_switch "switch0" \
 		"1:lan:2" "2:lan:1" "4:wan" "6 at eth0"
 		;;
+	re6500)
+		ucidef_add_switch "switch0" \
+			"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6 at eth0"
+		;;
 	rt-n56u)
 		ucidef_add_switch "switch0" \
 			"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8 at eth0"



More information about the lede-commits mailing list