summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-29 20:50:40 +0000
committerJohn Crispin <john@openwrt.org>2014-10-29 20:50:40 +0000
commit36e862da175798b7a52b8cee48444bf19bcaf26b (patch)
tree689e905476c493e66ba9ac1a1377d1dafdd89a3a /target/linux/lantiq/base-files
parent152d692a1fb4631ca1baa6950b49499c3374e3b6 (diff)
downloadmtk-20170518-36e862da175798b7a52b8cee48444bf19bcaf26b.zip
mtk-20170518-36e862da175798b7a52b8cee48444bf19bcaf26b.tar.gz
mtk-20170518-36e862da175798b7a52b8cee48444bf19bcaf26b.tar.bz2
lantiq: vgv7519: fix board_config on dts, read mac address and set
Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 43109
Diffstat (limited to 'target/linux/lantiq/base-files')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index 8d9ae4f..777e38d 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -168,6 +168,12 @@ BTHOMEHUBV2B)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+
+VGV7519)
+ lan_mac=$(mtd_get_mac_binary board_config 22)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
+
esac
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"