summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-27 17:44:56 +0000
committerJonas Gorski <jogo@openwrt.org>2014-07-27 17:44:56 +0000
commit3209fb968e4a9b9febd08a01ab8f6f75de6922e5 (patch)
tree9b40caed0b3bd09cf88ecbd5b3ed2a46c2bec7c3 /target/linux/brcm63xx/base-files
parentc27cb6e0fde6cb1166adc830d50fbf13726f5acc (diff)
downloadmtk-20170518-3209fb968e4a9b9febd08a01ab8f6f75de6922e5.zip
mtk-20170518-3209fb968e4a9b9febd08a01ab8f6f75de6922e5.tar.gz
mtk-20170518-3209fb968e4a9b9febd08a01ab8f6f75de6922e5.tar.bz2
brcm63xx: Add support for Huawei HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41851
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
2 files changed, 7 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 964f5ba..97ef3e8 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -70,7 +70,8 @@ HW556*)
;;
NB4-* |\
-DVG3810BN)
+DVG3810BN |\
+HW6358GW_B)
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
ucidef_add_switch "eth1" "1" "1"
ucidef_add_switch_vlan "eth1" "1" "0 1 2 3 4 5t"
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index 1029fe3..d5784db 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -131,6 +131,11 @@ brcm63xx_detect() {
brcm63xx_has_reset_button="true"
ifname=eth0
;;
+ HW6358GW_B)
+ status_led="HW520:green:net"
+ brcm63xx_has_reset_button="true"
+ ifname="eth0"
+ ;;
NB6)
brcm63xx_has_reset_button="true"
ifname=eth0