From 65cf72d5d25c5ca58d481f79a91c9486a1b99023 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Tue, 28 Apr 2020 20:28:06 +0200 Subject: [PATCH] ath79: add SUPPORTED_DEVICES based on ar71xx for some devices This adds some still-missing board names for old TP-Link devices to ath79 SUPPORTED_DEVICES. Fixes: FS#3017 Signed-off-by: Adrian Schmutzler (cherry picked from commit 522f6b7eee479768dd7851e83c4530c3329b9f53) --- target/linux/ath79/image/generic-tp-link.mk | 4 ++++ target/linux/ath79/image/tiny-tp-link.mk | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk index 0bf80900c3..99ca14ebe1 100644 --- a/target/linux/ath79/image/generic-tp-link.mk +++ b/target/linux/ath79/image/generic-tp-link.mk @@ -289,6 +289,7 @@ define Device/tplink_tl-wdr4900-v2 DEVICE_TITLE := TP-Link TL-WDR4900 v2 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport TPLINK_HWID := 0x49000002 + SUPPORTED_DEVICES += tl-wdr4900-v2 endef TARGET_DEVICES += tplink_tl-wdr4900-v2 @@ -298,6 +299,7 @@ define Device/tplink_tl-wr810n-v1 DEVICE_TITLE := TP-Link TL-WR810N v1 TPLINK_HWID := 0x8100001 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += tl-wr810n endef TARGET_DEVICES += tplink_tl-wr810n-v1 @@ -306,6 +308,7 @@ define Device/tplink_tl-wr810n-v2 ATH_SOC := qca9533 DEVICE_TITLE := TP-Link TL-WR810N v2 TPLINK_HWID := 0x8100002 + SUPPORTED_DEVICES += tl-wr810n-v2 endef TARGET_DEVICES += tplink_tl-wr810n-v2 @@ -325,6 +328,7 @@ define Device/tplink_tl-wr842n-v1 DEVICE_TITLE := TP-Link TL-WR842N/ND v1 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport TPLINK_HWID := 0x8420001 + SUPPORTED_DEVICES += tl-mr3420 endef TARGET_DEVICES += tplink_tl-wr842n-v1 diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk index 22aef0a417..a2bedd244d 100644 --- a/target/linux/ath79/image/tiny-tp-link.mk +++ b/target/linux/ath79/image/tiny-tp-link.mk @@ -94,6 +94,7 @@ define Device/tplink_tl-wr740n-v1 ATH_SOC := ar7240 DEVICE_TITLE := TP-Link TL-WR740N v1/v2 TPLINK_HWID := 0x07400001 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr740n-v1 @@ -102,6 +103,7 @@ define Device/tplink_tl-wr740n-v3 ATH_SOC := ar7240 DEVICE_TITLE := TP-Link TL-WR740N v3 TPLINK_HWID := 0x07400003 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr740n-v3 @@ -110,6 +112,7 @@ define Device/tplink_tl-wr740n-v4 ATH_SOC := ar9331 DEVICE_TITLE := TP-Link TL-WR740N v4 TPLINK_HWID := 0x07400004 + SUPPORTED_DEVICES += tl-wr741nd-v4 endef TARGET_DEVICES += tplink_tl-wr740n-v4 @@ -118,6 +121,7 @@ define Device/tplink_tl-wr740n-v5 ATH_SOC := ar9331 DEVICE_TITLE := TP-Link TL-WR740N v5 TPLINK_HWID := 0x07400005 + SUPPORTED_DEVICES += tl-wr741nd-v4 endef TARGET_DEVICES += tplink_tl-wr740n-v5 @@ -126,6 +130,7 @@ define Device/tplink_tl-wr741-v1 ATH_SOC := ar7240 DEVICE_TITLE := TP-Link TL-WR741N/ND v1/v2 TPLINK_HWID := 0x07410001 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr741-v1 @@ -143,6 +148,7 @@ define Device/tplink_tl-wr743nd-v1 ATH_SOC := ar7240 DEVICE_TITLE := TP-Link TL-WR743ND v1 TPLINK_HWID := 0x07430001 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr743nd-v1 @@ -151,6 +157,7 @@ define Device/tplink_tl-wr841-v5 ATH_SOC := ar7240 DEVICE_TITLE := TP-Link TL-WR841N/ND v5/v6 TPLINK_HWID := 0x08410005 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr841-v5 @@ -220,6 +227,7 @@ define Device/tplink_tl-wr941-v2 DEVICE_TITLE := TP-Link TL-WR941N/ND v2/v3 TPLINK_HWID := 0x09410002 TPLINK_HWREV := 2 + SUPPORTED_DEVICES += tl-wr941nd endef TARGET_DEVICES += tplink_tl-wr941-v2 @@ -228,6 +236,7 @@ define Device/tplink_tl-wr941-v4 ATH_SOC := ar7240 DEVICE_TITLE := TP-Link TL-WR941N/ND v4 TPLINK_HWID := 0x09410004 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr941-v4 -- 2.30.2