aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-14 16:36:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-14 16:36:33 +0000
commit643463cf745d3809e99647cf603d5d170ce3f7e0 (patch)
tree585ef35d2b9718e4de925a2cbd0a85ce1a4d98ad /target/linux/ar71xx
parent16df02ee8d0d6c2120914cc58756ae6bfa0a56ed (diff)
downloadupstream-643463cf745d3809e99647cf603d5d170ce3f7e0.tar.gz
upstream-643463cf745d3809e99647cf603d5d170ce3f7e0.tar.bz2
upstream-643463cf745d3809e99647cf603d5d170ce3f7e0.zip
AA: ar71xx: ew-dorin: added ethernet switch configuration
Backport of r33768. Signed-off-by: embedded wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33771 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index cd9e997d89..4767fc3a25 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -143,7 +143,6 @@ all0305 |\
aw-nr580 |\
bullet-m |\
eap7660d |\
-ew-dorin |\
rb-411 |\
tl-mr11u |\
tl-mr3020 |\
@@ -199,6 +198,12 @@ wzr-hp-g450h)
ucidef_add_switch_vlan "eth0" "2" "0t 1"
;;
+ew-dorin)
+ ucidef_set_interface_lan "eth0"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 1 2 3"
+ ;;
+
ew-dorin-router)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1"