diff options
author | Vitaly Chekryzhev <13hakta@gmail.com> | 2016-10-29 17:26:58 +0500 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-18 08:54:57 +0100 |
commit | 348344874c8aaaeabd291eef0e45660f0c6aba95 (patch) | |
tree | a3ff58c591a8316f0e6bbfb2bdab418f05d69c86 /target/linux/ramips/base-files/etc/board.d/02_network | |
parent | a4814c744ce4aae6fbf62621d9c62476ca5ce28d (diff) | |
download | upstream-348344874c8aaaeabd291eef0e45660f0c6aba95.tar.gz upstream-348344874c8aaaeabd291eef0e45660f0c6aba95.tar.bz2 upstream-348344874c8aaaeabd291eef0e45660f0c6aba95.zip |
ramips: add support for ZyXEL Keenetic Viva
Factory image can be installed via Zyxel WebUI.
Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
[removed linux,modalias parameter from flash node in dts]
[removed sdhci node from dts; no sd card slot here]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 1e97c3b3c2..5ae6413fcf 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -204,6 +204,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0" ;; + kng_rc) + ucidef_add_switch "switch1" \ + "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "7t@eth0" + ;; mlwg2|\ wizard8800|\ wl-330n) @@ -320,6 +324,9 @@ ramips_setup_macs() [ -n "$lan_mac" ] || lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 1) ;; + kng_rc) + wan_mac=$(mtd_get_mac_binary factory 28) + ;; linkits7688 | \ linkits7688d) wan_mac=$(mtd_get_mac_binary factory 4) |