aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-19 00:22:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-19 00:22:04 +0000
commit26cf21df024faae5a287854b7427b720b09bd9ad (patch)
tree037bae9e5132874068524c03bb70142501f37f9c /target/linux/ar71xx/base-files/etc
parent5d364d0ca15d51e6f55ba78bcc3821b26f9f6e94 (diff)
downloadupstream-26cf21df024faae5a287854b7427b720b09bd9ad.tar.gz
upstream-26cf21df024faae5a287854b7427b720b09bd9ad.tar.bz2
upstream-26cf21df024faae5a287854b7427b720b09bd9ad.zip
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
SVN-Revision: 32447
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 3fbb9fccaa..993e024782 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -184,6 +184,12 @@ wzr-hp-g450h)
ucidef_add_switch_vlan "eth0" "2" "0t 1"
;;
+ew-dorin)
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 2 3"
+ ;;
+
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;