ar71xx: add user-space support for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5652/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41619
This commit is contained in:
Gabor Juhos 2014-07-13 18:21:06 +00:00
parent 9801351c84
commit 6991725a1e
6 changed files with 14 additions and 0 deletions

View file

@ -69,6 +69,9 @@ get_status_led() {
el-m150) el-m150)
status_led="EasyLink:green:system" status_led="EasyLink:green:system"
;; ;;
gl-inet)
status_led="gl-connect:green:lan"
;;
hiwifi-hc6361) hiwifi-hc6361)
status_led="hiwifi:blue:system" status_led="hiwifi:blue:system"
;; ;;

View file

@ -104,6 +104,11 @@ dir-825-c1)
ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt" ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
;; ;;
gl-inet)
ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1"
ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt"
;;
hiwifi-hc6361) hiwifi-hc6361)
ucidef_set_led_default "inet" "INET" "hiwifi:blue:internet" "0" ucidef_set_led_default "inet" "INET" "hiwifi:blue:internet" "0"
ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt" ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"

View file

@ -289,6 +289,7 @@ dir-505-a1)
alfa-ap96 |\ alfa-ap96 |\
alfa-nx |\ alfa-nx |\
ap83 |\ ap83 |\
gl-inet |\
jwap003 |\ jwap003 |\
pb42 |\ pb42 |\
pb44 |\ pb44 |\

View file

@ -322,6 +322,9 @@ ar71xx_board_detect() {
*EL-MINI) *EL-MINI)
name="el-mini" name="el-mini"
;; ;;
*"GL-CONNECT INET v1")
name="gl-inet"
;;
*JA76PF) *JA76PF)
name="ja76pf" name="ja76pf"
;; ;;

View file

@ -15,6 +15,7 @@ set_preinit_iface() {
ap83 |\ ap83 |\
archer-c7 |\ archer-c7 |\
dir-505-a1 |\ dir-505-a1 |\
gl-inet |\
jwap003 |\ jwap003 |\
pb42 |\ pb42 |\
pb44 |\ pb44 |\

View file

@ -226,6 +226,7 @@ platform_check_image() {
archer-c7 | \ archer-c7 | \
el-m150 | \ el-m150 | \
el-mini | \ el-mini | \
gl-inet | \
oolite | \ oolite | \
tl-mr10u | \ tl-mr10u | \
tl-mr11u | \ tl-mr11u | \