diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-08-02 13:17:44 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-08 08:11:11 +0200 |
commit | 1edba538a97fe8a17a388a43506fe562533b02ed (patch) | |
tree | 35782415e495f705636207a10046412607ffd992 /target/linux/ath79/base-files/etc/board.d/02_network | |
parent | 55ff2951eac8fd86c91b9673395325e393e357ac (diff) | |
download | upstream-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/board.d/02_network')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index f0233b4b28..9ec78ece23 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -97,7 +97,12 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0" ;; - tplink,tl-wr740n-v2) + tplink,tl-wr740n-v1|\ + tplink,tl-wr740n-v3|\ + tplink,tl-wr741-v1|\ + tplink,tl-wr743nd-v1|\ + tplink,tl-wr841-v5|\ + tplink,tl-wr941-v4) ucidef_set_interface_wan "eth0" ucidef_add_switch "switch0" \ "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" |