From 93550152ed317f0a77a59bd2a6be93ebd852ab62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sat, 9 Apr 2016 13:23:25 +0000 Subject: [PATCH] bcm53xx: add switch config workaround for R8500 and DIR-885L MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 49160 --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"