diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-19 08:50:41 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-19 08:50:41 +0000 |
commit | 808517d4807b7af2a686ead980b3125f7d82f48e (patch) | |
tree | 6b5c69c491c59211c33d50b51743a194af755a0a /target/linux/ar71xx/base-files/etc | |
parent | 08e1b77c365ae59dcc4931be899088b892c7abf6 (diff) | |
download | master-187ad058-808517d4807b7af2a686ead980b3125f7d82f48e.tar.gz master-187ad058-808517d4807b7af2a686ead980b3125f7d82f48e.tar.bz2 master-187ad058-808517d4807b7af2a686ead980b3125f7d82f48e.zip |
ar71xx: add user-space support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/
[juhosg: add uci-defaults/network support]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34780 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/leds | 10 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 001e9c5832..0b6e8f8e03 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -126,6 +126,7 @@ get_status_led() { status_led="tp-link:green:wps" ;; tl-mr3220 | \ + tl-mr3220-v2 | \ tl-mr3420 | \ tl-wa901nd | \ tl-wa901nd-v2 | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index 05943982c3..3dd5d21e0f 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -118,6 +118,16 @@ tl-mr3420 ) ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" ;; +tl-mr3220-v2) + ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04" + ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08" + ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10" + ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02" + ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" + ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" + ;; + tl-wa901nd) ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index f060f2e83a..7832da59b5 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -200,6 +200,7 @@ rb-751 |\ tew-632brp |\ tew-712br |\ tl-mr3220 |\ +tl-mr3220-v2 |\ tl-mr3420 |\ tl-wr741nd |\ tl-wr741nd-v4 |\ |