aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/uci-defaults/02_network
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-03-30 10:02:30 +0000
committerJohn Crispin <blogic@openwrt.org>2014-03-30 10:02:30 +0000
commitd2b1dccc38a7113ce65b53eb549ffff203844cb2 (patch)
tree64c528d045755f6aefdec1156fd17ec5a68db1fa /target/linux/lantiq/base-files/etc/uci-defaults/02_network
parent7081cc98e11fd6f1b798e44ee16439e57bac089f (diff)
downloadupstream-d2b1dccc38a7113ce65b53eb549ffff203844cb2.tar.gz
upstream-d2b1dccc38a7113ce65b53eb549ffff203844cb2.tar.bz2
upstream-d2b1dccc38a7113ce65b53eb549ffff203844cb2.zip
lntiq: add support for Astoria ARV7519RW.
These patches add support for the Astoria ARV7519RW aka Livebox 2.1 The PCI and PCIe interfaces have been disabled. Also, because there are two revisions of this board with different GPHY firmwares, two targets were defined. V2: rewrote partitions to work with an u-boot specifically made for these boards. Signed off by: Esteban Benito <estebanjbs@gmail.com> Signed off by: Carles Gadea <carlesgrg@gmail.com> Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40329 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults/02_network')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network5
1 files changed, 5 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 ad1238437f..5768336f2a 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -130,6 +130,11 @@ TDW8970)
lan_mac=$(mtd_get_mac_binary boardconfig 61696)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+
+ARV7519*)
+ lan_mac=$(mtd_get_mac_binary boardconfig 22)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
esac
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"