projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for A5-V11 board (resubmit)
[openwrt/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 7ecec5fd279db09a38250248b916160cc67f1e87..6510b1ae904302d1ebd8f85a4a55cb50ca68b0da 100755
(executable)
--- a/
target/linux/ramips/base-files/etc/board.d/02_network
+++ b/
target/linux/ramips/base-files/etc/board.d/02_network
@@
-37,6
+37,12
@@
ramips_setup_interfaces()
ucidef_set_interface_loopback
case $board in
ucidef_set_interface_loopback
case $board in
+ a5-v11)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 6t"
+ ;;
+
3g300m | \
w150m | \
all0256n | \
3g300m | \
w150m | \
all0256n | \
@@
-127,6
+133,7
@@
ramips_setup_interfaces()
hg255d | \
rt-n14u | \
wrtnode | \
hg255d | \
rt-n14u | \
wrtnode | \
+ wt3020 | \
ur-326n4g | \
zbt-wa05)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ur-326n4g | \
zbt-wa05)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@
-251,6
+258,7
@@
ramips_setup_macs()
lan_mac=$(macaddr_add "$lan_mac" -2)
;;
lan_mac=$(macaddr_add "$lan_mac" -2)
;;
+ a5-v11 |\
bc2 |\
broadway |\
d105 |\
bc2 |\
broadway |\
d105 |\