[source] brcm47xx: fix switch port mapping on Asus RT-N16 On the Asus RT-N16, the ports are not mapped the in the same way as the RT-N12. It is, however, the same as the Linksys E3000v1.

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 10 05:53:14 PST 2017


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

commit bddffc5e7b74fb12626e004f839313404b2b667a
Author: Tim Thorpe <timfthorpe at gmail.com>
AuthorDate: Tue Oct 10 09:48:54 2017 -0500

    brcm47xx: fix switch port mapping on Asus RT-N16
    On the Asus RT-N16, the ports are not mapped the in the same way as
    the RT-N12.  It is, however, the same as the Linksys E3000v1.
    
    Signed-off-by: Tim Thorpe <timfthorpe at gmail.com>
---
 target/linux/brcm47xx/base-files/etc/board.d/01_detect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_detect b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
index 04d1395..3d85dbd 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
@@ -145,7 +145,6 @@ detect_by_model() {
 		;;
 
 	"Asus RT-N12"* | \
-	"Asus RT-N16"* | \
 	"Asus WL500GP V2" | \
 	"Buffalo WHR-G125" | \
 	"Motorola WR850G" | \
@@ -165,6 +164,7 @@ detect_by_model() {
 			"0:lan" "1:lan" "2:lan" "3:lan" "5 at eth0"
 		;;
 
+	"Asus RT-N16"* | \
 	"Linksys E3000 V1")
 		ucidef_add_switch "switch0" \
 			"0:wan" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8 at eth0"



More information about the lede-commits mailing list