summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-30 09:16:15 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-30 09:16:15 +0000
commit991201dde2a4cf3c6fe4211ab21bfb6d8428d57c (patch)
tree2d11b02349f4bba816699ce72834d37d9711382e /target/linux/lantiq/base-files/etc/uci-defaults
parenta61ea64cb7eb0acb7561a34f6f42f9da68e176c2 (diff)
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')
-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"