Date: Fri, 27 Feb 2026 02:29:39 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: efb9f7d98698 - stable/15 - mt76: mt7925: add missing LINUXKPI_PARAM_PREFIX Message-ID: <69a10193.1fe70.3b23ccdc@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=efb9f7d98698f25ad3a5ec9c9300ab51a6763a1d commit efb9f7d98698f25ad3a5ec9c9300ab51a6763a1d Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-02-04 22:20:37 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-02-26 23:01:28 +0000 mt76: mt7925: add missing LINUXKPI_PARAM_PREFIX There is a module_param_named() in the file so we need to set LINUXKPI_PARAM_PREFIX to get it a uniq sysctl name. mt7921 has the exact same option. Without their individual prefixes the names would clash on systems with both chipsets and not work for both. Sponsored by: The FreeBSD Foundation (cherry picked from commit bc820edd2d7906e04e93aef8a6137991ad86f4cc) --- sys/contrib/dev/mediatek/mt76/mt7925/regd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/contrib/dev/mediatek/mt76/mt7925/regd.c b/sys/contrib/dev/mediatek/mt76/mt7925/regd.c index 292087e882d1..73f6f93faf35 100644 --- a/sys/contrib/dev/mediatek/mt76/mt7925/regd.c +++ b/sys/contrib/dev/mediatek/mt76/mt7925/regd.c @@ -1,6 +1,10 @@ // SPDX-License-Identifier: BSD-3-Clause-Clear /* Copyright (C) 2025 MediaTek Inc. */ +#if defined(__FreeBSD__) +#define LINUXKPI_PARAM_PREFIX mt7925_ +#endif + #include "mt7925.h" #include "regd.h" #include "mcu.h"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a10193.1fe70.3b23ccdc>
