summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-07-13 19:43:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-07-13 19:43:58 +0000
commit2d6542242aba8e19ea9d53f344d1a29786c90e22 (patch)
treefe81c2531daf80f6465ae7a26e0c5ef6497a4323 /target/linux/ar71xx/base-files/etc/uci-defaults
parent16d45d553108bfb898b70aa9156fab99fc99678a (diff)
downloadmtk-20170518-2d6542242aba8e19ea9d53f344d1a29786c90e22.zip
mtk-20170518-2d6542242aba8e19ea9d53f344d1a29786c90e22.tar.gz
mtk-20170518-2d6542242aba8e19ea9d53f344d1a29786c90e22.tar.bz2
ar71xx: add user-space support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net> Patchwork: http://patchwork.openwrt.org/patch/5840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41625
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network7
1 files changed, 7 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 63422da..5416599 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -30,6 +30,13 @@ wlr8100)
ucidef_add_switch_vlan "switch0" "2" "0t 1"
;;
+esr1750)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
+ ucidef_add_switch_vlan "switch0" "2" "0t 1"
+ ;;
+
ap136-010)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"