Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2025 23:53:44 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 446eab491e52 - main - rtw89: turn on debugfs support
Message-ID:  <202501312353.50VNriOE017051@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=446eab491e523e3d7586e11cb16448e524297da4

commit 446eab491e523e3d7586e11cb16448e524297da4
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-25 22:17:18 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-01-31 23:53:31 +0000

    rtw89: turn on debugfs support
    
    Following 07f6575585bf also turn on debugfs support for rtw89.
    
    Sponnsored by:  The FreeBSD Foundation
    MFC after:      3 days
---
 sys/modules/rtw89/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys/modules/rtw89/Makefile b/sys/modules/rtw89/Makefile
index b75d29e67b3c..a67b5fba345b 100644
--- a/sys/modules/rtw89/Makefile
+++ b/sys/modules/rtw89/Makefile
@@ -3,6 +3,7 @@ DEVRTW89DIR=	${SRCTOP}/sys/contrib/dev/rtw89
 .PATH: ${DEVRTW89DIR}
 
 WITH_CONFIG_PM=	0
+WITH_DEBUGFS=	1
 
 KMOD=	if_rtw89
 
@@ -42,7 +43,9 @@ CFLAGS+=	-DLINUXKPI_VERSION=60800
 CFLAGS+=	-I${DEVRTW89DIR}
 CFLAGS+=	${LINUXKPI_INCLUDES}
 CFLAGS+=	-DCONFIG_RTW89_DEBUGMSG
-#CFLAGS+=	-DCONFIG_RTW89_DEBUGFS
+.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
+CFLAGS+=	-DCONFIG_RTW89_DEBUGFS
+.endif
 
 #CFLAGS+=	-ferror-limit=0
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501312353.50VNriOE017051>