projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedw...
[openwrt/staging/yousong.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
uci-defaults
/
network
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/network
b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 3fbb9fccaa10c31498e59fb6cdfbc19e3aeecb74..993e0247826eece90131c17c6cb45015d7fb14fb 100755
(executable)
--- 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"
;;