diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 08:00:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 08:00:02 +0000 |
commit | 7131a104f5ec2fd47a2324bd027a8853dd7c3062 (patch) | |
tree | 3e220a7d009bdb346840b2e55f28bea046a16e04 /target/linux/ar71xx/base-files | |
parent | f80f0c7d221d08533da8a585b16fd29f6e68df4d (diff) | |
download | upstream-7131a104f5ec2fd47a2324bd027a8853dd7c3062.tar.gz upstream-7131a104f5ec2fd47a2324bd027a8853dd7c3062.tar.bz2 upstream-7131a104f5ec2fd47a2324bd027a8853dd7c3062.zip |
ar71xx: add support for the TP-LINK TL-WR841N/ND v9
Everything seems to be working fine. Potential issues:
* VLAN port IDs are reversed with regard to the numbers on the case.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 40400
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 0e1fe5cb74..d81173dff6 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -178,6 +178,9 @@ get_status_led() { tl-wr720n-v3) status_led="tp-link:blue:system" ;; + tl-wr841n-v9) + status_led="tp-link:green:qss" + ;; tl-wr2543n) status_led="tp-link:green:wps" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index a986dbcf54..c4d3ef8808 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -261,6 +261,15 @@ tl-wr841n-v8) ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; +tl-wr841n-v9) + ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10" + ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08" + ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04" + ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02" + ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" + ;; + tl-wr842n-v2) ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index c8ee86bfca..a78f7f9042 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -295,6 +295,7 @@ tl-wdr3500 |\ tl-wr741nd |\ tl-wr741nd-v4 |\ tl-wr841n-v7 |\ +tl-wr841n-v9 |\ whr-g301n |\ whr-hp-g300n |\ whr-hp-gn |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 99d91ae595..a2bbefd9b7 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -538,6 +538,9 @@ ar71xx_board_detect() { *"TL-WR841N/ND v8") name="tl-wr841n-v8" ;; + *"TL-WR841N/ND v9") + name="tl-wr841n-v9" + ;; *"TL-WR842N/ND v2") name="tl-wr842n-v2" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d08799e44b..37ceea6073 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -249,6 +249,7 @@ platform_check_image() { tl-wr841n-v1 | \ tl-wr841n-v7 | \ tl-wr841n-v8 | \ + tl-wr841n-v9 | \ tl-wr842n-v2 | \ tl-wr941nd | \ tl-wr1041n-v2 | \ |