diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-29 20:50:40 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-29 20:50:40 +0000 |
commit | 576cb5c5ebe394927aa490c4b661bf282de5efe7 (patch) | |
tree | ea6bf36ccb0a28e8a58e7190a07eb34d8739ab38 /target/linux/lantiq/base-files/etc | |
parent | a5ef2aabf40763af102cee2c8a7b56ec42613ed9 (diff) | |
download | upstream-576cb5c5ebe394927aa490c4b661bf282de5efe7.tar.gz upstream-576cb5c5ebe394927aa490c4b661bf282de5efe7.tar.bz2 upstream-576cb5c5ebe394927aa490c4b661bf282de5efe7.zip |
lantiq: vgv7519: fix board_config on dts, read mac address and set
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43109 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 6 |
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 8d9ae4f57f..777e38dcbd 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" |