2
0
forked from Ivasoft/openwrt

ramips: add initial support for SamKnows SK-WB8

Signed-off-by: Andrew Yong <me@ndoo.sg>
This commit is contained in:
Andrew Yong
2016-05-11 00:17:54 +08:00
committed by John Crispin
parent 9195d8da35
commit 374cae9e6f
10 changed files with 171 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ ramips_setup_interfaces()
pbr-m1|\
psg1208|\
sap-g3200u3|\
sk-wb8|\
wf-2881|\
whr-300hp2|\
whr-600d|\
@@ -307,6 +308,9 @@ ramips_setup_macs()
lan_mac=$(macaddr_setbit_la "$lan_mac")
wan_mac=$(mtd_get_mac_binary factory 32772)
;;
sk-wb8)
wan_mac=$(mtd_get_mac_binary factory 57350)
;;
tew-691gr)
lan_mac=$(cat /sys/class/net/eth0/address)
wan_mac=$(macaddr_add "$lan_mac" 3)