aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Sonius <walterav1984@gmail.com>2019-12-27 12:25:39 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-21 14:03:56 +0100
commit99ab40c842c9d3752b39c1ca1b57fade6e32a282 (patch)
treee62df52458b7b5f83c75db7c76c15e43bbe9f3f8
parent3a3ca3230f839c4ae1a0e5e11f4031bfa447bebb (diff)
downloadupstream-99ab40c842c9d3752b39c1ca1b57fade6e32a282.tar.gz
upstream-99ab40c842c9d3752b39c1ca1b57fade6e32a282.tar.bz2
upstream-99ab40c842c9d3752b39c1ca1b57fade6e32a282.zip
brcm47xx: fix switch port order for Netgear WNR3500 V2
The Netgear WNR3500 V2 switch0 already works for WAN/LAN however the port order for the LAN ports is inverted. Correct physical port order watched from the back of the device is: Internet / 4 / 3 / 2 / 1 this resembles the Linksys E3000 V1. Verfied with imagebuilder edit FILES=/etc/board.d/01_network Signed-off-by: Walter Sonius <walterav1984@gmail.com> (cherry picked from commit cf2f1fc6871da0320afeefaa799af87fc7c0d1db)
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/board.d/01_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_network b/target/linux/brcm47xx/base-files/etc/board.d/01_network
index 8428b43dec..0abaa82682 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_network
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_network
@@ -166,7 +166,8 @@ configure_by_model() {
;;
"Asus RT-N16"* | \
- "Linksys E3000 V1")
+ "Linksys E3000 V1" | \
+ "Netgear WNR3500 V2")
ucidef_add_switch "switch0" \
"0:wan" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8@eth0"
;;