aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-08-02 13:17:44 +0800
committerMathias Kresin <dev@kresin.me>2018-08-08 08:11:11 +0200
commit1edba538a97fe8a17a388a43506fe562533b02ed (patch)
tree35782415e495f705636207a10046412607ffd992 /target/linux/ath79/base-files/etc/hotplug.d
parent55ff2951eac8fd86c91b9673395325e393e357ac (diff)
downloadupstream-1edba538a97fe8a17a388a43506fe562533b02ed.tar.gz
upstream-1edba538a97fe8a17a388a43506fe562533b02ed.tar.bz2
upstream-1edba538a97fe8a17a388a43506fe562533b02ed.zip
ath79: Fix led nodes for TL-WR740N v2 and add its clones
This patch did the following things: 1. Separate ath9k-leds out of gpio leds so that all other leds will work before ath9k loded (e.g. during preinit/init stage). 2. Rename wps led to qss since that's how TP-Link mark it. 3. Rename LED prefix to tp-link because that dts is shared by many devices. 4. Rename to wr740n-v1 because v1 is the first and v2 just use the fw of v1. (This will require a forced sysupgrade if you comes from the previous wr740n v2 image.) 5. Remove SUPPORTED_DEVICES. (tl-wr740n-v2 doesn't exist anywhere so it's useless.) 6. Add all WR741ND v1 clones found in ar71xx. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom9
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index b55ae0dbb3..e8adcf613a 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -61,11 +61,18 @@ case "$FIRMWARE" in
tplink,tl-mr3220-v1|\
tplink,tl-mr3420-v1|\
tplink,tl-wr2543-v1|\
- tplink,tl-wr740n-v2|\
+ tplink,tl-wr740n-v1|\
+ tplink,tl-wr740n-v3|\
+ tplink,tl-wr741-v1|\
+ tplink,tl-wr743nd-v1|\
tplink,tl-wr841-v7|\
ubnt,unifi)
ath9k_eeprom_extract "art" 4096 2048
;;
+ tplink,tl-wr841-v5|\
+ tplink,tl-wr941-v4)
+ ath9k_eeprom_extract "art" 4096 3768
+ ;;
*)
ath9k_eeprom_die "board $board is not supported yet"
;;