brcm47xx: fix switch port order for Netgear WNR3500 V2
authorWalter Sonius <walterav1984@gmail.com>
Fri, 27 Dec 2019 11:25:39 +0000 (12:25 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 18 Jan 2020 18:39:05 +0000 (19:39 +0100)
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>
target/linux/brcm47xx/base-files/etc/board.d/01_network

index a14986356a79b8cdd6582d4d2dd4874c4393232d..99755700ff20957bfdfd11bd78fe341e746bc4ca 100755 (executable)
@@ -171,6 +171,7 @@ configure_by_model() {
 
        "Asus RT-N16"* | \
        "Linksys E3000 V1" | \
+       "Netgear WNR3500 V2" | \
        "Netgear WNR3500L")
                ucidef_add_switch "switch0" \
                        "0:wan" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8@eth0"