projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Buffalo WZR-AGL300NH target support
[openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ramips/base-files/etc/board.d/02_network
b/target/linux/ramips/base-files/etc/board.d/02_network
index
f298aa4
..
7e9d8c9
100755
(executable)
--- a/
target/linux/ramips/base-files/etc/board.d/02_network
+++ b/
target/linux/ramips/base-files/etc/board.d/02_network
@@
-242,6
+242,12
@@
ramips_setup_interfaces()
ucidef_add_switch_vlan "switch1" "2" "4 6t"
;;
ucidef_add_switch_vlan "switch1" "2" "4 6t"
;;
+ wzr-agl300nh)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
+ ucidef_add_switch_vlan "switch0" "2" "0 5t"
+ ;;
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then