aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-04-20 20:47:48 +0000
committerLuka Perkov <luka@openwrt.org>2015-04-20 20:47:48 +0000
commit68c954eb574aadddfb9c8fbeacdc54fed893d8b6 (patch)
tree030b7b9022bfdca238d5efd70de2beddae109a85 /target/linux/ar71xx/base-files/etc/uci-defaults
parent204e157668a940fabbcfba928a4decd556942898 (diff)
downloadmaster-187ad058-68c954eb574aadddfb9c8fbeacdc54fed893d8b6.tar.gz
master-187ad058-68c954eb574aadddfb9c8fbeacdc54fed893d8b6.tar.bz2
master-187ad058-68c954eb574aadddfb9c8fbeacdc54fed893d8b6.zip
ar71xx: add support for compex wpj344
Signed-off-by: Christian Mehlis <christian@m3hlis.de> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45527 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rw-r--r--target/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 9789834dcf..fa3f66f09f 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -360,6 +360,13 @@ wpe72)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
+wpj344)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 3"
+ ucidef_add_switch_vlan "switch0" "2" "0t 2"
+ ;;
+
wpj558)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"