diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-04-09 13:23:25 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-04-09 13:23:25 +0000 |
commit | c42ae4c166280e0f1ea4115405963cba3be01a77 (patch) | |
tree | ca9aafea210ab5006364f244fd1b10f2c193c9f9 | |
parent | a9cad3618626f8533cf7588b110a755b23d28424 (diff) | |
download | master-187ad058-c42ae4c166280e0f1ea4115405963cba3be01a77.tar.gz master-187ad058-c42ae4c166280e0f1ea4115405963cba3be01a77.tar.bz2 master-187ad058-c42ae4c166280e0f1ea4115405963cba3be01a77.zip |
bcm53xx: add switch config workaround for R8500 and DIR-885L
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49160 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/linux/bcm53xx/base-files/etc/board.d/02_network | 5 |
1 files changed, 4 insertions, 1 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 afb537fbfe..70ae89c006 100755 --- a/target/linux/bcm53xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -12,6 +12,7 @@ case "$board" in asus,rt-ac87u) ifname=eth1 ;; +dlink,dir-885l | \ netgear,r7900 | \ netgear,r8000 | \ netgear,r8500) @@ -25,8 +26,10 @@ esac # Workaround for devices using eth2 connected to (CPU) switch port 8 case "$board" in +dlink,dir-885l | \ netgear,r7900 | \ -netgear,r8000) +netgear,r8000 | \ +netgear,r8500) ifname=eth0 ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@$ifname" |