diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2015-01-30 00:17:16 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2015-01-30 00:17:16 +0000 |
commit | dab2d03d87e9c35584cb14018aa891c2d7a60f26 (patch) | |
tree | c5f5826660936726a74dfdec565e2e14b2923173 /target/linux/sunxi/base-files/etc | |
parent | aa2d8b3cbb35f0d167d87aca729a65705c480397 (diff) | |
download | upstream-dab2d03d87e9c35584cb14018aa891c2d7a60f26.tar.gz upstream-dab2d03d87e9c35584cb14018aa891c2d7a60f26.tar.bz2 upstream-dab2d03d87e9c35584cb14018aa891c2d7a60f26.zip |
sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44214 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi/base-files/etc')
-rw-r--r-- | target/linux/sunxi/base-files/etc/uci-defaults/02_network | 6 |
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' ;; |