git: 446eab491e52 - main - rtw89: turn on debugfs support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jan 2025 23:53:44 UTC
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