The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=efb9f7d98698f25ad3a5ec9c9300ab51a6763a1d
commit efb9f7d98698f25ad3a5ec9c9300ab51a6763a1d Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2026-02-04 22:20:37 +0000 Commit: Bjoern A. Zeeb <[email protected]> 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"
