aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-04-09 13:20:19 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-04-09 13:20:19 +0000
commite2893fa8c32a71776af0a9a559a09d98ad4b6e20 (patch)
treece3096b75691aa909c561452426cde7fec833cbc
parent5f1a82ec4ffebc668a739d2a2fb72da8dbbeaaa5 (diff)
downloadupstream-e2893fa8c32a71776af0a9a559a09d98ad4b6e20.tar.gz
upstream-e2893fa8c32a71776af0a9a559a09d98ad4b6e20.tar.bz2
upstream-e2893fa8c32a71776af0a9a559a09d98ad4b6e20.zip
bcm53xx: fix regression in generating network config
Syntax error was added in r49122. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49159
-rwxr-xr-xtarget/linux/bcm53xx/base-files/etc/board.d/02_network7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index ea49f827b2..afb537fbfe 100755
--- a/target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network
@@ -12,9 +12,10 @@ case "$board" in
asus,rt-ac87u)
ifname=eth1
;;
-netgear,r7900)
-netgear,r8000)
+netgear,r7900 | \
+netgear,r8000 | \
netgear,r8500)
+
ifname=eth2
;;
*)
@@ -24,7 +25,7 @@ esac
# Workaround for devices using eth2 connected to (CPU) switch port 8
case "$board" in
-netgear,r7900)
+netgear,r7900 | \
netgear,r8000)
ifname=eth0
ucidef_add_switch "switch0" \