aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>2018-02-21 18:24:58 +0100
committerJohn Crispin <john@phrozen.org>2018-05-24 17:24:30 +0200
commit9373836f9495979dfe0f88ada236f0b622854ec4 (patch)
tree516f3d1da40730a3cc2052d44a754a00fffbb703
parentd4df69697d13f65273eb482012a53c479aeff672 (diff)
downloadupstream-9373836f9495979dfe0f88ada236f0b622854ec4.tar.gz
upstream-9373836f9495979dfe0f88ada236f0b622854ec4.tar.bz2
upstream-9373836f9495979dfe0f88ada236f0b622854ec4.zip
brcm63xx: Tune the network configuration for several routers
- DGND3700v1: fix port numbers, they're in reverse order - FaST2704n: there is no WAN port identified as such, only 4 LAN - AD1018: configure the "FIBRE" port as WAN Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> (cherry picked from commit fbbb97777297bf8a168b840c88d18d6e2079ce8f)
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/board.d/02_network10
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network
index 06b4b6eced..a7fd6f5d38 100755
--- a/target/linux/brcm63xx/base-files/etc/board.d/02_network
+++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network
@@ -98,13 +98,18 @@ vr-3026e)
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0"
;;
-ad1018-nor|\
ar-5315u |\
+fast2704n |\
vh4032n)
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0"
;;
+ad1018-nor)
+ ucidef_add_switch "switch0" \
+ "1:lan:3" "2:lan:2" "3:lan:1" "0:wan" "8t@eth0"
+ ;;
+
bcm96368mvwg)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "4:lan" "5:lan" "8t@eth0"
@@ -115,10 +120,9 @@ wap-5813n)
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@eth0"
;;
-fast2704n |\
dgnd3700v1_dgnd3800b)
ucidef_add_switch "switch0" \
- "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "0:wan" "8t@eth0"
+ "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "8t@eth0"
;;
neufbox6)