diff options
author | Andrew Yong <me@ndoo.sg> | 2016-05-11 00:17:54 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-05-12 03:29:35 +0200 |
commit | 374cae9e6fcaf4cf4de4f2095f3fec558da51df6 (patch) | |
tree | c6dfa75aeffb0061ce38702779a4e8fb07f6d466 /target/linux/ramips/base-files/etc/board.d/02_network | |
parent | 9195d8da355d0d141ac02c9a5269452dc64ffd2d (diff) | |
download | upstream-374cae9e6fcaf4cf4de4f2095f3fec558da51df6.tar.gz upstream-374cae9e6fcaf4cf4de4f2095f3fec558da51df6.tar.bz2 upstream-374cae9e6fcaf4cf4de4f2095f3fec558da51df6.zip |
ramips: add initial support for SamKnows SK-WB8
Signed-off-by: Andrew Yong <me@ndoo.sg>
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 | 4 |
1 files changed, 4 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 e7826d48b0..985ce4b266 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -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) |