aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-29 11:01:17 +0000
committerJohn Crispin <john@openwrt.org>2014-10-29 11:01:17 +0000
commitd0bf15f235951973836da586c05693c0563ed4f2 (patch)
treef6768a2a467f63d8c8a3b48a5970fb7ca70e8d83 /target/linux/ramips/base-files/etc/board.d/02_network
parent9762c549149e1226a3affe43df71aa14379bd5d5 (diff)
downloadupstream-d0bf15f235951973836da586c05693c0563ed4f2.tar.gz
upstream-d0bf15f235951973836da586c05693c0563ed4f2.tar.bz2
upstream-d0bf15f235951973836da586c05693c0563ed4f2.zip
ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission) Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key) Signed-off-by: Gareth Bryan <gareth@mx9.org> SVN-Revision: 43102
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
1 files changed, 7 insertions, 0 deletions
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 ff8fbc079d..6510b1ae90 100755
--- 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
+ 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 | \
@@ -252,6 +258,7 @@ ramips_setup_macs()
lan_mac=$(macaddr_add "$lan_mac" -2)
;;
+ a5-v11 |\
bc2 |\
broadway |\
d105 |\