summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files/etc
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-08-05 13:55:37 +0000
committerJonas Gorski <jogo@openwrt.org>2015-08-05 13:55:37 +0000
commita105688c87d9b04a19aeed9cbaf9e386ef3f5047 (patch)
treebc8817275fcef3e6cd76184cdb99baa4f867d332 /target/linux/brcm63xx/base-files/etc
parent65654a3c541a81f135905dfa68f9e390b4c21419 (diff)
downloadmtk-20170518-a105688c87d9b04a19aeed9cbaf9e386ef3f5047.zip
mtk-20170518-a105688c87d9b04a19aeed9cbaf9e386ef3f5047.tar.gz
mtk-20170518-a105688c87d9b04a19aeed9cbaf9e386ef3f5047.tar.bz2
brcm63xx: Add support for Plusnet 2704N
BCM6318: add support for Plusnet / Sagem 2704N (V1) Signed-off-by: Matt Goring <matt.goring@googlemail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46562
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh3
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds3
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/02_network1
3 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index 1b0d26d..7916ac2 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -70,6 +70,9 @@ set_state() {
fast2504n)
status_led="fast2504n:green:ok"
;;
+ fast2704n)
+ status_led2="F@ST2704N:red:power"
+ ;;
fast2704v2)
status_led="F@ST2704V2:green:power"
;;
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
index b964bdb..bdb3dad 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -22,6 +22,9 @@ dgnd3700v1_dgnd3800b)
ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
;;
+fast2704n)
+ ucidef_set_led_netdev "wan" "WAN" "F@ST2704N:green:inet" "eth0.2"
+ ;;
fast2704v2)
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
;;
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 e5880eb..2ff9e45 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -114,6 +114,7 @@ wap-5831n)
ucidef_add_switch_vlan "eth0" "2" "4 5t"
;;
+fast2704n |\
dgnd3700v1_dgnd3800b)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"