aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-21 21:24:18 +0000
committerJohn Crispin <john@openwrt.org>2015-11-21 21:24:18 +0000
commit99fd9a704184d5f1b9ef279115aa529d3ef63fdb (patch)
tree8ed711c287244e39985ae2b908b0f3fffb83d17a /target/linux/ar71xx/base-files/etc
parentac232078036453151c352d9b839bb16db84f2c39 (diff)
downloadupstream-99fd9a704184d5f1b9ef279115aa529d3ef63fdb.tar.gz
upstream-99fd9a704184d5f1b9ef279115aa529d3ef63fdb.tar.bz2
upstream-99fd9a704184d5f1b9ef279115aa529d3ef63fdb.zip
ar71xx: add support for the devolo dLAN Hotspot
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 47554
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 952e7b88d5..e5683c0377 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -200,6 +200,10 @@ dir-825-c1)
ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
;;
+dlan-hotspot)
+ ucidef_set_led_wlan "wlan" "WLAN" "devolo:green:wifi" "phy0tpt"
+ ;;
+
dlan-pro-500-wp)
ucidef_set_led_default "power" "System Power" "devolo:green:status" "1"
ucidef_set_led_netdev "lan" "Ethernet Activity" "devolo:green:eth" "br-lan"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index fffe06b7a0..64f2054b62 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -329,6 +329,7 @@ esr900)
[ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac"
;;
+dlan-hotspot |\
dlan-pro-500-wp)
ucidef_set_interface_lan "eth0 eth1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 8eb3512054..a8e1721b7c 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -86,6 +86,9 @@ get_status_led() {
dir-835-a1)
status_led="d-link:amber:power"
;;
+ dlan-hotspot)
+ status_led="devolo:green:wifi"
+ ;;
dlan-pro-500-wp)
status_led="devolo:green:wlan-2g"
;;