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 ff8fbc079de6c7fb187dda8bdff4f582530896ee..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 | \
@@
-252,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 |\