From nobody Fri Oct 11 13:48:23 2024 X-Original-To: dev-commits-src-main@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 4XQ7Hq66nCz5YvBp; Fri, 11 Oct 2024 13:48:23 +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 4XQ7Hq3gZlz4crY; Fri, 11 Oct 2024 13:48:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728654503; 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=0eG3d03liXtbITZeb6Yj1NLmmF0CM0zz/D2/rKTgKmk=; b=EuovCETCywOX+lWjJTvSXD06Sye2Uen90itJxd2F7OSMYaCWbAo3OSPl20O5CdkZiph5P8 jWzt7xdrdZCnPM77wneUtsJf5ZnQrAmgwvwIP7mhYMK/clLqU4Qmq3g0fDVxVEsH0jckrn yfYPLbCE3etGAqf+N59vOcJdreoIy7WNbp9RkawHuJZzg+mMwcznTM+l1wc/MtS2QbXVGT xohiWaSnVXi6OMks5VZVxV2sOY8CtCu2qVdVXOaw7LwQ0/cXHq+bKm3cQlwxVQsAS2+l0x lxYYHAnGe1gk97RB0nXYZwbUBWhOgrcONF6r50apJKeOMJaZnxQnNAZIFY3QOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728654503; 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=0eG3d03liXtbITZeb6Yj1NLmmF0CM0zz/D2/rKTgKmk=; b=hJ0eLW7a4Z8HBPGGc88gOdH/tWZIPfAHsLupw6xbVz1fn+Q5ltXLf/SBDsKXyOaHAhhCz4 gR2NI7mxqWWJoEDbD3rOPUBmKFxPX/WrGEEO7DJe0J03CkJtsocrYgecdKzlaF5P1KjolH mOLFGHQsy8EaXGuG7s0WLVj4TWs3vWadWJRBZdzGK8IlqQtQjjZioRVIx6Ryu3HGXDubSA wBSQqdYEevuWPAw4fmExoqcRTYUlI1LCzMHSow3YJsom/b0//GwU24GdVSjEvtCUUd5pQ4 9+74qLZPuxisocEC1uaAyc6Z1Ufox+ZqFbhX1E9TWz2eQeYbt6PHVtnb7Qgx2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728654503; a=rsa-sha256; cv=none; b=ie7e7xFHFdl+9qgBVx5S8oV35dCZJgK49qJj4Yq1N1QXyo7BiN3n6G/2tuK/uRdMJOM8vy i1cf3fVQMpjoiB0lfBPmmyNqvz5ORWiY7sfcsjTbk0Qndjz2Zr9rCPM9kDvZlTtwqH4nAS vh5WtJS+/CxezcJRoEL/IJ691yIhd5jvFrePtG72itOs7APsdgJUQkSQTMVbJXXxtTEK1K j11S/HuUAS8H8VrC/0l+SRskgFV0zOVhlWqYFiLyLfO5FadEPCS9dEGjHygrXxhzzGtYr4 4xGkEXye9v9j/rtn7ukyJgjO2QoNRVaqcFiUlZ6QCNtgR6e1UA4GvIB+oeS9ig== 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 4XQ7Hq3GxSzkq2; Fri, 11 Oct 2024 13:48:23 +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 49BDmNtc068096; Fri, 11 Oct 2024 13:48:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49BDmNIS068093; Fri, 11 Oct 2024 13:48:23 GMT (envelope-from git) Date: Fri, 11 Oct 2024 13:48:23 GMT Message-Id: <202410111348.49BDmNIS068093@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: ce15215befa1 - main - rtw89: add missing bsddriver.name assignments for two chipsets List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: ce15215befa1022d9a20ec15bdb0739dbe55f10f Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=ce15215befa1022d9a20ec15bdb0739dbe55f10f commit ce15215befa1022d9a20ec15bdb0739dbe55f10f Author: Bjoern A. Zeeb AuthorDate: 2024-10-10 23:07:55 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-10-11 13:40:15 +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 MFC after: 3 days --- 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);