aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-04-09 09:59:21 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-04-09 09:59:21 +0000
commit997a3cb41c254f7b22a61ac7fac8fddf490d46a7 (patch)
tree44f88c4cc63be236fb2294bf6b61968beca28e3c /target/linux/bcm53xx/base-files/etc/board.d
parentc658bd634c06e7d8faa0dbd9793e3e089bf1a395 (diff)
downloadupstream-997a3cb41c254f7b22a61ac7fac8fddf490d46a7.tar.gz
upstream-997a3cb41c254f7b22a61ac7fac8fddf490d46a7.tar.bz2
upstream-997a3cb41c254f7b22a61ac7fac8fddf490d46a7.zip
bcm53xx: add basic support for Netgear R7900
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49122
Diffstat (limited to 'target/linux/bcm53xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/bcm53xx/base-files/etc/board.d/02_network12
1 files changed, 3 insertions, 9 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 f879e01bf2..ea49f827b2 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,8 @@ case "$board" in
asus,rt-ac87u)
ifname=eth1
;;
+netgear,r7900)
netgear,r8000)
- ifname=eth2
- ;;
netgear,r8500)
ifname=eth2
;;
@@ -23,16 +22,11 @@ netgear,r8500)
;;
esac
-# Workaround for devices using eth2
+# Workaround for devices using eth2 connected to (CPU) switch port 8
case "$board" in
+netgear,r7900)
netgear,r8000)
ifname=eth0
- ;;
-esac
-
-# Workaround for devices using CPU port 8 (connected to eth2)
-case "$board" in
-netgear,r8000)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@$ifname"
board_config_flush