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 jjPlus JWAP230
[openwrt/staging/yousong.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ar71xx/base-files/etc/board.d/02_network
b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 0922550017e855bf88fc583e24ffd5f38b70690f..667d2284106db8baa638a0f1fbb2f78eb7ce645a 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-411,6
+411,12
@@
gl-ar300)
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;;
+jwap230)
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan" "5:wan" "6@eth1"
+ ;;
+
wpj342)
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:wan"