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 09:16:15 +0000
committerJohn Crispin <blogic@openwrt.org>2014-03-30 09:16:15 +0000
commitcbc606f1f79e4a369978ad89abe75bb5c6063e0d (patch)
tree2d11b02349f4bba816699ce72834d37d9711382e /target/linux/lantiq/base-files/etc/uci-defaults/02_network
parent038a7b4587762d70e85551a000f544ade5b2de28 (diff)
downloadmaster-187ad058-cbc606f1f79e4a369978ad89abe75bb5c6063e0d.tar.gz
master-187ad058-cbc606f1f79e4a369978ad89abe75bb5c6063e0d.tar.bz2
master-187ad058-cbc606f1f79e4a369978ad89abe75bb5c6063e0d.zip
lantiq: add support for Arcadyan ARV7519PW
This patch adds almost full support for this board. - WiFi is still not working - USB will not power up. According to some reports, it may be a passive port Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40319 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_network9
1 files changed, 9 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 4903eb92d0..329fa2d72e 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -74,6 +74,15 @@ ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22)
ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
;;
+# rtl8306g
+ARV7519PW)
+ lan_mac=$(mtd_get_mac_binary board_config 22)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4t"
+ ;;
+
WBMR)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "1" "1"