aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/base-files/etc
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-01-30 00:17:16 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-01-30 00:17:16 +0000
commit7146957461eacd64fe6e2e6a789fe854b742a655 (patch)
tree818fecc843a84a753f638ca464f003403aa8b882 /target/linux/sunxi/base-files/etc
parent45e8630a4fd6411ac57683c92a7222a2391543fe (diff)
downloadupstream-7146957461eacd64fe6e2e6a789fe854b742a655.tar.gz
upstream-7146957461eacd64fe6e2e6a789fe854b742a655.tar.bz2
upstream-7146957461eacd64fe6e2e6a789fe854b742a655.zip
sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44214
Diffstat (limited to 'target/linux/sunxi/base-files/etc')
-rw-r--r--target/linux/sunxi/base-files/etc/uci-defaults/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/sunxi/base-files/etc/uci-defaults/02_network b/target/linux/sunxi/base-files/etc/uci-defaults/02_network
index d801677958..372fed9e26 100644
--- a/target/linux/sunxi/base-files/etc/uci-defaults/02_network
+++ b/target/linux/sunxi/base-files/etc/uci-defaults/02_network
@@ -16,6 +16,12 @@ case "$( sunxi_board_name )" in
"olinuxino-micro"*)
ucidef_set_interface_lan 'wlan0'
;;
+"lamobo-r1")
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "4 0 1 2 8t"
+ ucidef_add_switch_vlan "switch0" "2" "3 8t"
+ ;;
*)
ucidef_set_interface_lan 'eth0'
;;