aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/board.d/02_network6
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh4
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network
index a7fd6f5d38..a2ca5a37b3 100755
--- a/target/linux/brcm63xx/base-files/etc/board.d/02_network
+++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network
@@ -130,6 +130,12 @@ neufbox6)
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9t@eth0"
;;
+sr102)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "2:lan" "3:wan" "8t@eth0"
+ ;;
+
vg50)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0"
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index acb1795214..afb347818f 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -132,6 +132,10 @@ set_state() {
rta770w)
status_led="RTA770W:green:diag"
;;
+ sr102)
+ status_led="SR102:white:power"
+ status_led2="SR102:red:power"
+ ;;
spw500v)
status_led="SPW500V:green:power"
;;