aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlli Asikainen <olli.asikainen@gmail.com>2019-11-15 17:07:37 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-11 22:41:46 +0100
commite33a123140cec10ef1b31511f5b2d235bac08d2f (patch)
treeee5b5a8f9a5013a59b08fb54152b165efb3ed002
parentd1d84da1c38774b2ba4db1fefaf3bc69455b7dc7 (diff)
downloadupstream-e33a123140cec10ef1b31511f5b2d235bac08d2f.tar.gz
upstream-e33a123140cec10ef1b31511f5b2d235bac08d2f.tar.bz2
upstream-e33a123140cec10ef1b31511f5b2d235bac08d2f.zip
brcm47xx: add switch configuration for WNR3500L
Netgear WNR3500L is an already supported device, but out of the box, the device has no switch configuration and there is no wan. The correct configuration for this specific model is similar to some other models. This simple commit adds the correct switch and the out-of-the-box experience is improved. Experimentally determined: Port 0 => WAN Port 1..4 => LAN Port 5..7 => unused Port 8 => CPU Signed-off-by: Olli Asikainen <olli.asikainen@gmail.com> Tested-by: Fabian Zaremba <fabian@youremail.eu> [added port mapping to commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit deb835849aeb713968aaa48bf046101140ab4825)
-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 6fbd76fc10..a14986356a 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_network
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_network
@@ -170,7 +170,8 @@ configure_by_model() {
;;
"Asus RT-N16"* | \
- "Linksys E3000 V1")
+ "Linksys E3000 V1" | \
+ "Netgear WNR3500L")
ucidef_add_switch "switch0" \
"0:wan" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8@eth0"
;;