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@gmail.com>
This commit is contained in:
Tim Thorpe 2017-10-10 09:48:54 -05:00 committed by Jo-Philipp Wich
parent 645b163cfc
commit bddffc5e7b

View file

@ -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@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@eth0"