aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorWalter Sonius <walterav1984@gmail.com>2019-12-27 12:41:35 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-21 14:04:55 +0100
commit04474c7d22113f3f41128c66e73e529cb6b6f8c6 (patch)
treef1183ab7bba4cede8ebfe0cd29a5576e0a4a0841 /target
parent99ab40c842c9d3752b39c1ca1b57fade6e32a282 (diff)
downloadupstream-04474c7d22113f3f41128c66e73e529cb6b6f8c6.tar.gz
upstream-04474c7d22113f3f41128c66e73e529cb6b6f8c6.tar.bz2
upstream-04474c7d22113f3f41128c66e73e529cb6b6f8c6.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> (cherry picked from commit 098cbc68ee23db589ed6f0d081fe26cc385462f2)
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/board.d/01_network5
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 0abaa82682..08372368f4 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_network
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_network
@@ -172,6 +172,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"
;;