git: 8b21c469dbd6 - main - ng_ubt: Add blacklist entries for MediaTek MT7925

From: Kevin Lo <kevlo_at_FreeBSD.org>
Date: Fri, 16 Aug 2024 02:06:38 UTC
The branch main has been updated by kevlo:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b21c469dbd6dd7d7222a726eed33f06162bf04f

commit 8b21c469dbd6dd7d7222a726eed33f06162bf04f
Author:     Kevin Lo <kevlo@FreeBSD.org>
AuthorDate: 2024-08-16 02:03:19 +0000
Commit:     Kevin Lo <kevlo@FreeBSD.org>
CommitDate: 2024-08-16 02:03:19 +0000

    ng_ubt: Add blacklist entries for MediaTek MT7925
    
    This controller requires firmware patch downloading to operate,
    block ng_ubt attachment unless operational firmware is loaded.
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D46302
---
 sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
index 76a71e2f8d53..a63ccae3cc03 100644
--- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
@@ -443,6 +443,10 @@ static const STRUCT_USB_HOST_ID ubt_ignore_devs[] =
 	 */
 	{ USB_VPI(USB_VENDOR_INTEL2, 0x0032, 0) },
 	{ USB_VPI(USB_VENDOR_INTEL2, 0x0033, 0) },
+
+	/* MediaTek MT7925 */
+	{ USB_VPI(USB_VENDOR_AZUREWAVE, 0x3602, 0) },
+	{ USB_VPI(USB_VENDOR_AZUREWAVE, 0x3604, 0) },
 };
 
 /* List of supported bluetooth devices */