From nobody Thu Oct 17 09:16:44 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XThzc29lbz5Ylxk; Thu, 17 Oct 2024 09:16:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XThzc1DQyz4HZC; Thu, 17 Oct 2024 09:16:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729156604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c4y/F/1pYSV+wXWyapvIZLgg0AR9Jqtnv+b3f8TTAnk=; b=sjF/hH686UJzbiOar3G3aVZ+kp/NaLp7P5rRx9zTh9VjEsgtWFX/HkCT7ODFzzbMAP5CQI 65DIfIlgtVlnL7eDV267f7rX05QkubFqW6qvORFj/xf8I+RQ9qUgS9ErmkEhUYs7WJoMER OZBkLuMbhXzGBeSCnsE0zpWlkp6UgKIZOX6V5Pmgf9MVN4pMsmigKryZcs4UMuEvsqgkkM Cj/yhCtttLqzvsLkrDG8SkKqDq1itjRFdHCu1MrwI9f92/K68NeJ08EGj1lU7CAR2Cfgnx qwH1MrjydHIXgq+Mn7gknfcSVisXoLyMHJmIb1kiyO0x0yTl+jcoik5PtyGukQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729156604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c4y/F/1pYSV+wXWyapvIZLgg0AR9Jqtnv+b3f8TTAnk=; b=k/UWArckOF83HuNdTStuDwW9VtDJCE7a+GF2+E4Wj+INfpIEpb0aPGV8+HaKRzcvAHczi6 tjcoOSmZofAwO4F5FKI3nsXJUmtIno+ipPX5O3UghHZbf6oiDmG0y2uQfuQ/xmGgd565CL XSXOAD5VkzkT8ZwaDdHaVoo74yw3tEtof4NuWYQcTEuL8pLyW/Y5LhyI8xHVdi9NgPf8Hg P7SJ9ZJR/Xe5CnzVVnL7gtk7J5ocV0i51/4eW6ddxvNi9XobPAaOBRzpSV621FL0e4h5+Z BcV4l3qUXEU0eceLMJ1oEu7xS+Vlp4HjL1f2mLgzpz4G5dQ1j7l8Y4rnYnVCtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729156604; a=rsa-sha256; cv=none; b=P0nPpZF2gkooxBMwm7eOI83x8UNErcB7djIzy8x6KtTgM67rNTB5N6cHZAh0lvdKFlUcWV dsHlQg6JKVyG58JwsrsLRnLKT6hP4qZ6UOuifUBsM2Ggtn/SPYJPHxMIsnSRvQowjq+WCz NkVjLe9e+Cuq+n5WUHTn2Fi/zZYsvp483Mq5iire0vep5HlqedQn8KIuscMaLuc0YZ+WsT 7yLlypAn8ippwofBPtcoabIfk8/ECf9nLn2vj7BUicp0J9DEPgZxzbS/c6+kbgJVh/5JLv MO7zuTRPiO6dTe6nBFGldaLXFs61DaheROqWz7smo5G+5N2dXg5cgpt09/oWAQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XThzc0qj0zkRm; Thu, 17 Oct 2024 09:16:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49H9GimG087563; Thu, 17 Oct 2024 09:16:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49H9GiVs087560; Thu, 17 Oct 2024 09:16:44 GMT (envelope-from git) Date: Thu, 17 Oct 2024 09:16:44 GMT Message-Id: <202410170916.49H9GiVs087560@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 9bb9bfc76941 - stable/14 - rtw89: add missing bsddriver.name assignments for two chipsets List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9bb9bfc76941e5a72560e57499cbad6d856fc75f Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=9bb9bfc76941e5a72560e57499cbad6d856fc75f commit 9bb9bfc76941e5a72560e57499cbad6d856fc75f Author: Bjoern A. Zeeb AuthorDate: 2024-10-10 23:07:55 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-10-16 21:46:27 +0000 rtw89: add missing bsddriver.name assignments for two chipsets On FreeBSDs we locally set bsddriver.name in struct pci_driver to have the same name for all chipsets. This helps with, e.g., device enumeration. For two chipsets the manual entry was missing. Sponsored by: The FreeBSD Foundation (cherry picked from commit ce15215befa1022d9a20ec15bdb0739dbe55f10f) --- sys/contrib/dev/rtw89/rtw8851be.c | 3 +++ sys/contrib/dev/rtw89/rtw8852be.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sys/contrib/dev/rtw89/rtw8851be.c b/sys/contrib/dev/rtw89/rtw8851be.c index 0f7711c50bd1..76216b790450 100644 --- a/sys/contrib/dev/rtw89/rtw8851be.c +++ b/sys/contrib/dev/rtw89/rtw8851be.c @@ -78,6 +78,9 @@ static struct pci_driver rtw89_8851be_driver = { .probe = rtw89_pci_probe, .remove = rtw89_pci_remove, .driver.pm = &rtw89_pm_ops, +#if defined(__FreeBSD__) + .bsddriver.name = KBUILD_MODNAME, +#endif }; module_pci_driver(rtw89_8851be_driver); diff --git a/sys/contrib/dev/rtw89/rtw8852be.c b/sys/contrib/dev/rtw89/rtw8852be.c index ecf39d2d9f81..be96ff56d699 100644 --- a/sys/contrib/dev/rtw89/rtw8852be.c +++ b/sys/contrib/dev/rtw89/rtw8852be.c @@ -82,6 +82,9 @@ static struct pci_driver rtw89_8852be_driver = { .probe = rtw89_pci_probe, .remove = rtw89_pci_remove, .driver.pm = &rtw89_pm_ops, +#if defined(__FreeBSD__) + .bsddriver.name = KBUILD_MODNAME, +#endif }; module_pci_driver(rtw89_8852be_driver);