diff options
author | John Crispin <john@openwrt.org> | 2015-11-24 18:29:59 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-24 18:29:59 +0000 |
commit | 72093bd5284e25cb1b7ffc649c8d6a63fd8dcb83 (patch) | |
tree | 1ac5a1ba0e5aa74ffb1f2027679d7066a10bbaf3 /target/linux/ar71xx/base-files | |
parent | 8c1f5141ceee722cdd282f909390b73455968cfd (diff) | |
download | upstream-72093bd5284e25cb1b7ffc649c8d6a63fd8dcb83.tar.gz upstream-72093bd5284e25cb1b7ffc649c8d6a63fd8dcb83.tar.bz2 upstream-72093bd5284e25cb1b7ffc649c8d6a63fd8dcb83.zip |
ar71xx: add GL-AR150 support V3
This is the 3rd version. Modified against the latest trunk.
Signed-off-by: alzhao<alzhao@gmail.com>
SVN-Revision: 47620
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 9 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 e5683c0377..16a875805d 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -217,6 +217,10 @@ dlan-pro-1200-ac) ucidef_set_led_trigger_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0" ;; +gl-ar150) + ucidef_set_led_wlan "wlan" "WLAN" "gl_ar150:wlan" "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" 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 604587121d..de86ba54c8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -396,6 +396,7 @@ dir-505-a1) alfa-ap96 |\ alfa-nx |\ ap83 |\ +gl-ar150 |\ gl-inet |\ jwap003 |\ pb42 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 5b3e76f993..75a75a4fd4 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -482,6 +482,9 @@ ar71xx_board_detect() { name="gl-inet" gl_inet_board_detect ;; + *"GL AR150") + name="gl-ar150" + ;; *"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 5b15405263..d90f724e64 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -220,6 +220,7 @@ platform_check_image() { esr900 | \ ew-dorin | \ ew-dorin-router | \ + gl-ar150 | \ hiwifi-hc6361 | \ hornet-ub-x2 | \ mzk-w04nu | \ |