From dab2d03d87e9c35584cb14018aa891c2d7a60f26 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Fri, 30 Jan 2015 00:17:16 +0000 Subject: sunxi: add support for Lamobo R1 Signed-off-by: Daniel Golle git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44214 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/sunxi/base-files/etc/uci-defaults/02_network | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/sunxi/base-files/etc') 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' ;; -- cgit v1.2.3