forked from Ivasoft/openwrt
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>
This commit is contained in:
committed by
Mathias Kresin
parent
a4814c744c
commit
348344874c
@@ -203,6 +203,10 @@ ht-tm02)
|
||||
ucidef_set_led_netdev "eth" "Ethernet" "$board:green:lan" "eth0"
|
||||
set_wifi_led "$board:blue:wlan"
|
||||
;;
|
||||
kng_rc)
|
||||
set_usb_led "$board:green:usb"
|
||||
set_wifi_led "$board:green:wifi"
|
||||
;;
|
||||
m2m)
|
||||
set_wifi_led "$board:blue:wifi"
|
||||
ucidef_set_led_netdev "eth" "Ethernet" "$board:green:wan" "eth0"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user