summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-19 10:07:38 +0000
committerJohn Crispin <john@openwrt.org>2015-10-19 10:07:38 +0000
commit51dd991d3957a33f102c9887da379263599c395f (patch)
treefb3e9fdd2edcc6c2f42a385f7196b28fd6370f3c /target/linux/ramips/base-files/etc
parentb792ea7ac045922ff287ed95c1a4d5961640f19f (diff)
downloadmtk-20170518-51dd991d3957a33f102c9887da379263599c395f.zip
mtk-20170518-51dd991d3957a33f102c9887da379263599c395f.tar.gz
mtk-20170518-51dd991d3957a33f102c9887da379263599c395f.tar.bz2
ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47203
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
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 94d69b9..0732796 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -46,6 +46,8 @@ ramips_setup_interfaces()
dcs-930|\
dcs-930l-b1|\
ht-tm02|\
+ linkits7688 | \
+ linkits7688d | \
microwrt|\
ncs601w|\
w150m|\
@@ -302,6 +304,11 @@ ramips_setup_macs()
ht-tm02)
lan_mac=$(cat /sys/class/net/eth0/address)
;;
+ linkits7688 | \
+ linkits7688d)
+ wan_mac=$(mtd_get_mac_binary factory 4)
+ lan_mac=$(mtd_get_mac_binary factory 46)
+ ;;
m3|\
m4|\
x5|\