git: 038a73790cb6 - stable/15 - mt76: disable debugfs due to missing piece still in review

Bjoern A. Zeeb <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a66a20d.27887.57d51294__43660.3275871434$1785111450$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=038a73790cb6b13cd03912758ead742540465e6b

commit 038a73790cb6b13cd03912758ead742540465e6b
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2026-07-14 06:39:12 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2026-07-26 16:49:21 +0000

    mt76: disable debugfs due to missing piece still in review
    
    Until D57524 is not reviewed and committed we will have a missing
    function declaration which prevents us to compile (in) debugfs for
    mt76 core and mt7921.  Temporary disable debugfs again.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit c589dc4ef77d8e165e449a861c3705002ca4a762)
---
 sys/modules/mt76/core/Makefile   | 2 +-
 sys/modules/mt76/mt7921/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/modules/mt76/core/Makefile b/sys/modules/mt76/core/Makefile
index 59d34df86f70..81b30b554ee5 100644
--- a/sys/modules/mt76/core/Makefile
+++ b/sys/modules/mt76/core/Makefile
@@ -6,7 +6,7 @@ KMOD=	${MT76_DRIVER_NAME}
 
 .PATH: ${COMMONDIR}
 
-MT76_DEBUGFS?=		1
+MT76_DEBUGFS?=		0
 
 # Basic stuff.
 SRCS+=	mac80211.c mmio.c util.c dma.c  eeprom.c tx.c agg-rx.c mcu.c
diff --git a/sys/modules/mt76/mt7921/Makefile b/sys/modules/mt76/mt7921/Makefile
index d1def787144c..badcba3bfe52 100644
--- a/sys/modules/mt76/mt7921/Makefile
+++ b/sys/modules/mt76/mt7921/Makefile
@@ -8,7 +8,7 @@ MT7921_PCI=		1
 MT7921_SDIO=		0
 MT7921_USB=		0
 
-MT7921_DEBUGFS=		1
+MT7921_DEBUGFS=		0
 
 # Common stuff.
 SRCS+=	init.c main.c mac.c mcu.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.