diff options
Diffstat (limited to 'target/linux/bcm53xx/base-files')
-rwxr-xr-x | target/linux/bcm53xx/base-files/etc/board.d/02_network | 12 | ||||
-rw-r--r-- | target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 1 |
2 files changed, 4 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 diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh index 20d9e29e07..51ad041730 100644 --- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh @@ -28,6 +28,7 @@ platform_expected_image() { "netgear,r6250v1") echo "chk U12H245T00_NETGEAR"; return;; "netgear,r6300v2") echo "chk U12H240T00_NETGEAR"; return;; "netgear,r7000") echo "chk U12H270T00_NETGEAR"; return;; + "netgear,r7900") echo "chk U12H315T30_NETGEAR"; return;; "netgear,r8000") echo "chk U12H315T00_NETGEAR"; return;; "netgear,r8500") echo "chk U12H334T00_NETGEAR"; return;; esac |