[source] ar71xx: fix netgear wnr2000 v3 switch port mapping

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 1 08:58:47 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/581285c6dc617ddb4fb1b666d2b69ed3261b8b60

commit 581285c6dc617ddb4fb1b666d2b69ed3261b8b60
Author: Qian Zheng <sotux82 at gmail.com>
AuthorDate: Thu Jan 12 09:34:53 2017 +0800

    ar71xx: fix netgear wnr2000 v3 switch port mapping
    
    Signed-off-by: Qian Zheng <sotux82 at gmail.com>
    [Jo-Philipp Wich: fix alphabetical order after merging with gl-ar300 case]
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 target/linux/ar71xx/base-files/etc/board.d/02_network | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index fe3d958..b998daa 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -276,7 +276,6 @@ ar71xx_setup_interfaces()
 	tl-wr941nd-v5|\
 	tl-wr941nd-v6|\
 	wnr1000-v2|\
-	wnr2000-v3|\
 	wnr2000-v4|\
 	wnr2200|\
 	wnr612-v2|\
@@ -326,7 +325,8 @@ ar71xx_setup_interfaces()
 		ucidef_add_switch "switch0" \
 			"2:lan" "3:lan" "4:lan" "5:lan" "6 at eth1" "0 at eth0" "1:wan"
 		;;
-	gl-ar300)
+	gl-ar300|\
+	wnr2000-v3)
 		ucidef_set_interfaces_lan_wan "eth1" "eth0"
 		ucidef_add_switch "switch0" \
 			"0 at eth1" "1:lan" "2:lan" "3:lan" "4:lan"



More information about the lede-commits mailing list