diff options
author | Walter Sonius <walterav1984@gmail.com> | 2019-12-27 12:41:35 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-20 12:35:44 +0100 |
commit | 098cbc68ee23db589ed6f0d081fe26cc385462f2 (patch) | |
tree | 3761fad3ec9720bde8c9845f243820a0582abe91 /target/linux/brcm47xx | |
parent | 9e799f3eee9878bc8240f1de06d4eabdea7a2093 (diff) | |
download | upstream-098cbc68ee23db589ed6f0d081fe26cc385462f2.tar.gz upstream-098cbc68ee23db589ed6f0d081fe26cc385462f2.tar.bz2 upstream-098cbc68ee23db589ed6f0d081fe26cc385462f2.zip |
brcm47xx: fix switch port order for Netgear WN2500RP V1
The Netgear WN2500RP V1 switch0 already works for LAN
however the port order for the LAN ports is inverted. Correct
physical port order watched from the back of the device is:
4 / 3 / 2 / 1
WAN port is absent on this device and therefore removed
from switch config.
Signed-off-by: Walter Sonius <walterav1984@gmail.com>
[move block to maintain alphabetic sorting]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/brcm47xx')
-rwxr-xr-x | target/linux/brcm47xx/base-files/etc/board.d/01_network | 5 |
1 files changed, 5 insertions, 0 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 99755700ff..e6311d8139 100755 --- a/target/linux/brcm47xx/base-files/etc/board.d/01_network +++ b/target/linux/brcm47xx/base-files/etc/board.d/01_network @@ -177,6 +177,11 @@ configure_by_model() { "0:wan" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8@eth0" ;; + "Netgear WN2500RP V1") + ucidef_add_switch "switch0" \ + "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth0" + ;; + *) configure_by_boardtype "$boardtype" "$boardnum" ;; |