diff options
author | Zhao Gang <gang.zhao.42@gmail.com> | 2016-07-19 02:54:11 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-07-24 06:38:30 +0200 |
commit | 42305ae24aa7ce95824d3b2303a40ab211f1a766 (patch) | |
tree | 0b1b1b6ba87274180d04fa928c73a1b300bbfc2c /target/linux/ar71xx/base-files | |
parent | 0d5277f73fe4071df4273784e3252d520cef8a6e (diff) | |
download | upstream-42305ae24aa7ce95824d3b2303a40ab211f1a766.tar.gz upstream-42305ae24aa7ce95824d3b2303a40ab211f1a766.tar.bz2 upstream-42305ae24aa7ce95824d3b2303a40ab211f1a766.zip |
ar71xx: add support for gl-mifi
This add initial support for gl-mifi.
Product page: http://www.gl-inet.com/mifi/
Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 11 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 1254c711f4..a77147eeca 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -275,6 +275,13 @@ gl-inet) ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt" ;; +gl-mifi) + ucidef_set_led_netdev "wan" "WAN" "gl_mifi:wan" "eth0" + ucidef_set_led_netdev "lan" "LAN" "gl_mifi:lan" "eth1" + ucidef_set_led_netdev "3gnet" "3GNET" "gl_mifi:net" "3g-wan" + ucidef_set_led_wlan "wlan" "WLAN" "gl_mifi:wlan" "phy0tpt" + ;; + esr900) ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "engenius:blue:wlan-2g" "phy0tpt" ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "engenius:blue:wlan-5g" "phy1tpt" 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 7c4958a71f..11e78a687c 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -394,6 +394,7 @@ gl-ar150 |\ gl-ar300m |\ gl-domino |\ gl-inet |\ +gl-mifi |\ jwap003 |\ pb42 |\ pb44 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d1c92c97d2..68ad3c2058 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -538,6 +538,8 @@ ar71xx_board_detect() { ;; *"GL-AR300M") name="gl-ar300m" + *"GL-MIFI") + name="gl-mifi" ;; *"EnGenius EPG5000") name="epg5000" diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index c5cb4aba35..c02e5e775e 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -232,6 +232,7 @@ platform_check_image() { ew-dorin | \ ew-dorin-router | \ gl-ar150 | \ + gl-mifi | \ gl-ar300 | \ gl-ar300m | \ gl-domino | \ |