summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-26 11:49:47 +0000
committerJohn Crispin <john@openwrt.org>2014-06-26 11:49:47 +0000
commite6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d (patch)
tree113871fc530b721d1855527c0f0df9b31f753d96 /target/linux/ar71xx/base-files/etc/uci-defaults/02_network
parent0f39877bacc59049eb0185a93abbcbe23f180bde (diff)
downloadmtk-20170518-e6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d.zip
mtk-20170518-e6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d.tar.gz
mtk-20170518-e6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d.tar.bz2
ar71xx: add support for EasyLink M150 and M-mini
v3 refreshes the patch on trunk@41337 This patch adds support for the EasyLink EL-M150 and M-mini http://wiki.openwrt.org/toh/easylink/el-m150 http://wiki.openwrt.org/toh/easylink/el-m-mini Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41348
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/02_network')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index a2b2762..99c0268 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -152,6 +152,16 @@ ap113)
ucidef_add_switch_vlan "switch0" "2" "0t 2"
;;
+el-m150)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 3"
+ ;;
+
+el-mini)
+ ucidef_set_interface_lan "eth0"
+ ;;
+
tl-wdr4300|\
tl-wr1041n-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"