From 522f6b7eee479768dd7851e83c4530c3329b9f53 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 --- 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 56d21194d3..3eedce4f8e 100644 --- a/target/linux/ath79/image/generic-tp-link.mk +++ b/target/linux/ath79/image/generic-tp-link.mk @@ -474,6 +474,7 @@ define Device/tplink_tl-wdr4900-v2 DEVICE_VARIANT := v2 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport TPLINK_HWID := 0x49000002 + SUPPORTED_DEVICES += tl-wdr4900-v2 endef TARGET_DEVICES += tplink_tl-wdr4900-v2 @@ -576,6 +577,7 @@ define Device/tplink_tl-wr810n-v1 DEVICE_VARIANT := v1 TPLINK_HWID := 0x8100001 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += tl-wr810n endef TARGET_DEVICES += tplink_tl-wr810n-v1 @@ -585,6 +587,7 @@ define Device/tplink_tl-wr810n-v2 DEVICE_MODEL := TL-WR810N DEVICE_VARIANT := v2 TPLINK_HWID := 0x8100002 + SUPPORTED_DEVICES += tl-wr810n-v2 endef TARGET_DEVICES += tplink_tl-wr810n-v2 @@ -595,6 +598,7 @@ define Device/tplink_tl-wr842n-v1 DEVICE_VARIANT := v1 DEVICE_PACKAGES := 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 c6ef224da3..481329938a 100644 --- a/target/linux/ath79/image/tiny-tp-link.mk +++ b/target/linux/ath79/image/tiny-tp-link.mk @@ -186,6 +186,7 @@ define Device/tplink_tl-wr740n-v1 DEVICE_MODEL := TL-WR740N DEVICE_VARIANT := v1/v2 TPLINK_HWID := 0x07400001 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr740n-v1 @@ -195,6 +196,7 @@ define Device/tplink_tl-wr740n-v3 DEVICE_MODEL := TL-WR740N DEVICE_VARIANT := v3 TPLINK_HWID := 0x07400003 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr740n-v3 @@ -204,6 +206,7 @@ define Device/tplink_tl-wr740n-v4 DEVICE_MODEL := TL-WR740N DEVICE_VARIANT := v4 TPLINK_HWID := 0x07400004 + SUPPORTED_DEVICES += tl-wr741nd-v4 endef TARGET_DEVICES += tplink_tl-wr740n-v4 @@ -213,6 +216,7 @@ define Device/tplink_tl-wr740n-v5 DEVICE_MODEL := TL-WR740N DEVICE_VARIANT := v5 TPLINK_HWID := 0x07400005 + SUPPORTED_DEVICES += tl-wr741nd-v4 endef TARGET_DEVICES += tplink_tl-wr740n-v5 @@ -222,6 +226,7 @@ define Device/tplink_tl-wr741-v1 DEVICE_MODEL := TL-WR741N/ND DEVICE_VARIANT := v1/v2 TPLINK_HWID := 0x07410001 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr741-v1 @@ -241,6 +246,7 @@ define Device/tplink_tl-wr743nd-v1 DEVICE_MODEL := TL-WR743ND DEVICE_VARIANT := v1 TPLINK_HWID := 0x07430001 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr743nd-v1 @@ -250,6 +256,7 @@ define Device/tplink_tl-wr841-v5 DEVICE_MODEL := TL-WR841N/ND DEVICE_VARIANT := v5/v6 TPLINK_HWID := 0x08410005 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr841-v5 @@ -367,6 +374,7 @@ define Device/tplink_tl-wr941-v2 DEVICE_ALT0_VARIANT := v2/v3 TPLINK_HWID := 0x09410002 TPLINK_HWREV := 2 + SUPPORTED_DEVICES += tl-wr941nd endef TARGET_DEVICES += tplink_tl-wr941-v2 @@ -379,6 +387,7 @@ define Device/tplink_tl-wr941-v4 DEVICE_ALT0_MODEL := TL-WR941N DEVICE_ALT0_VARIANT := v4 TPLINK_HWID := 0x09410004 + SUPPORTED_DEVICES += tl-wr741nd endef TARGET_DEVICES += tplink_tl-wr941-v4