From 997a3cb41c254f7b22a61ac7fac8fddf490d46a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sat, 9 Apr 2016 09:59:21 +0000 Subject: bcm53xx: add basic support for Netgear R7900 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 49122 --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'target/linux/bcm53xx/base-files/etc/board.d') 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 -- cgit v1.2.3