diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-24 18:29:59 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-24 18:29:59 +0000 |
commit | d95f4c6ca377edcdf8c827a50b5e67e12313f9f6 (patch) | |
tree | 08bb9cfc5df16260ad07bafd598d09a1000cac87 /target/linux/ar71xx/base-files | |
parent | 1a5d8c271f351f8dc8679a68a969b0fe6c3cad62 (diff) | |
download | master-187ad058-d95f4c6ca377edcdf8c827a50b5e67e12313f9f6.tar.gz master-187ad058-d95f4c6ca377edcdf8c827a50b5e67e12313f9f6.tar.bz2 master-187ad058-d95f4c6ca377edcdf8c827a50b5e67e12313f9f6.zip |
ar71xx: add GL-AR150 support V3
This is the 3rd version. Modified against the latest trunk.
Signed-off-by: alzhao<alzhao@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47620 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | \ |