From 44ef9f778994e1b9bd37c8525045b53d82b6a504 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 30 Jun 2014 13:34:34 +0000 Subject: brcm63xx: Add support for Comtrend WAP-5813n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds support for Comtrend WAP-5813n. Signed-off-by: Álvaro Fernández Rojas [jogo: refresh patches] Signed-off-by: Jonas Gorski SVN-Revision: 41421 --- target/linux/brcm63xx/base-files/etc/uci-defaults/02_network | 7 +++++++ target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc | 1 + target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 5 +++++ 3 files changed, 13 insertions(+) (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 c3babd8..f091523 100755 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network @@ -95,6 +95,13 @@ DVG3810BN) ucidef_add_switch_vlan "eth0" "1" "1 2 4 5 8t" ;; +96369R-1231N) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "eth0" "1" "1" + ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 5t" + ucidef_add_switch_vlan "eth0" "2" "4 5t" + ;; + NB6) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" 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 2bb79cc..a2c0213 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 @@ -19,6 +19,7 @@ case "$board_name" in 963281TAN |\ 963281T_TEF |\ 96358-502V |\ + 96369R-1231N |\ "CPVA502+" |\ AW4339U |\ CPVA642 |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 679fedd..c6b2d20 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -28,6 +28,11 @@ brcm63xx_detect() { status_led="96328A-1241N:green:power" ifname=eth0 ;; + 96369R-1231N) + brcm63xx_has_reset_button="true" + status_led="WAP-5813n:green:power" + ifname="eth0" + ;; RTA770BW) brcm63xx_has_reset_button="true" status_led="RTA770BW:green:diag" -- cgit v1.1