summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:34 +0000
committerJonas Gorski <jogo@openwrt.org>2014-06-30 13:34:34 +0000
commit44ef9f778994e1b9bd37c8525045b53d82b6a504 (patch)
tree7525aeb1c8973fce341f1365369f8358326e692d /target/linux/brcm63xx/base-files
parent439fe41813e5bf898a9c3a5343f62ba02f889006 (diff)
downloadmtk-20170518-44ef9f778994e1b9bd37c8525045b53d82b6a504.zip
mtk-20170518-44ef9f778994e1b9bd37c8525045b53d82b6a504.tar.gz
mtk-20170518-44ef9f778994e1b9bd37c8525045b53d82b6a504.tar.bz2
brcm63xx: Add support for Comtrend WAP-5813n
This adds support for Comtrend WAP-5813n. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41421
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/02_network7
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc1
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
3 files changed, 13 insertions, 0 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 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"