diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-27 17:44:53 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-07-27 17:44:53 +0000 |
commit | c27cb6e0fde6cb1166adc830d50fbf13726f5acc (patch) | |
tree | 2940b995ec04627e7590f1e31839214cbfaeafbf /target/linux/brcm63xx/base-files | |
parent | b8f5c43748710a0cb3ef87b1ec61740bd9cd60a8 (diff) | |
download | mtk-20170518-c27cb6e0fde6cb1166adc830d50fbf13726f5acc.zip mtk-20170518-c27cb6e0fde6cb1166adc830d50fbf13726f5acc.tar.gz mtk-20170518-c27cb6e0fde6cb1166adc830d50fbf13726f5acc.tar.bz2 |
brcm63xx: Add support for ZyXEL P870HW-51a v2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41850
Diffstat (limited to 'target/linux/brcm63xx/base-files')
3 files changed, 8 insertions, 1 deletions
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" |