git: be330cd9f9ac - stable/14 - rtw89: turn on debugfs support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Feb 2025 14:52:57 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=be330cd9f9ac784b9f5ca9a50402ef0e333d67a1
commit be330cd9f9ac784b9f5ca9a50402ef0e333d67a1
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-25 22:17:18 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-10 14:52:11 +0000
rtw89: turn on debugfs support
Following 07f6575585bf also turn on debugfs support for rtw89.
Sponnsored by: The FreeBSD Foundation
(cherry picked from commit 446eab491e523e3d7586e11cb16448e524297da4)
---
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 9aede7b528fe..8c2905404f4f 100644
--- a/sys/modules/rtw89/Makefile
+++ b/sys/modules/rtw89/Makefile
@@ -4,6 +4,7 @@ DEVRTW89DIR= ${SRCTOP}/sys/contrib/dev/rtw89
.PATH: ${DEVRTW89DIR}
WITH_CONFIG_PM= 0
+WITH_DEBUGFS= 1
KMOD= if_rtw89
@@ -43,7 +44,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