From c27cb6e0fde6cb1166adc830d50fbf13726f5acc Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sun, 27 Jul 2014 17:44:53 +0000 Subject: brcm63xx: Add support for ZyXEL P870HW-51a v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski SVN-Revision: 41850 --- target/linux/brcm63xx/base-files/etc/uci-defaults/02_network | 3 ++- target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc | 1 + target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/base-files') diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network index aa32099..964f5ba 100755 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network @@ -85,7 +85,8 @@ DVG3810BN) 96368M-1541N |\ 96368MVNgr |\ "F@ST2504n" |\ -"F@ST2704V2") +"F@ST2704V2" |\ +P870HW-51a_v2) ucidef_set_interface_lan "eth0.1" ucidef_add_switch "eth0" "1" "1" ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 8t" diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc index 9c966e7..560bb20 100755 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc @@ -27,6 +27,7 @@ case "$board_name" in CPVA642 |\ CT6373-1 |\ MAGIC |\ + P870HW-51a_v2 |\ RTA770BW |\ RTA770W |\ V2110 |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 74e6a0d..1029fe3 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -135,6 +135,11 @@ brcm63xx_detect() { brcm63xx_has_reset_button="true" ifname=eth0 ;; + P870HW-51a_v2) + brcm63xx_has_reset_button="true" + status_led="P870HW-51a:green:power" + ifname="eth0" + ;; RTA770BW) brcm63xx_has_reset_button="true" status_led="RTA770BW:green:diag" -- cgit v1.1