aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-26 11:49:47 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-26 11:49:47 +0000
commit9582177d943090346a50491040446b0bc5fc9d8c (patch)
tree38f56576ef7a27901412d678c855938f3feea96a /target/linux/ar71xx/base-files/etc/uci-defaults
parente327858613b4d83b5873a372ef669f1f78782a9a (diff)
downloadmaster-187ad058-9582177d943090346a50491040446b0bc5fc9d8c.tar.gz
master-187ad058-9582177d943090346a50491040446b0bc5fc9d8c.tar.bz2
master-187ad058-9582177d943090346a50491040446b0bc5fc9d8c.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41348 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network10
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration1
2 files changed, 11 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 a2b27625d1..99c0268581 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"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
index 093fbc16ab..31ce548cdf 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
@@ -81,6 +81,7 @@ ew-dorin-router)
migrate_switch_name "eth0" "switch0"
;;
+el-m150|\
rb-450)
migrate_switch_name "eth1" "switch0"
;;