git: 1aa8504d1c51 - stable/14 - rtw88 / rtw89: define LINUXKPI_VERSION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 19:40:20 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=1aa8504d1c5156ff2b46c4eb0cc01fb2332dfb96
commit 1aa8504d1c5156ff2b46c4eb0cc01fb2332dfb96
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-08-21 06:28:56 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-16 19:37:40 +0000
rtw88 / rtw89: define LINUXKPI_VERSION
Always define the LINUXKPI_VERSION for LinuxKPI based wireless
drivers. This ensures that LinuxKPI can move indepdent of drivers.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit aecd63f4479423a65bdde7f93da66139293f0928)
---
sys/modules/rtw88/Makefile | 1 +
sys/modules/rtw89/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/sys/modules/rtw88/Makefile b/sys/modules/rtw88/Makefile
index 9e76765adc72..a08ec4635017 100644
--- a/sys/modules/rtw88/Makefile
+++ b/sys/modules/rtw88/Makefile
@@ -44,6 +44,7 @@ SRCS+= ${LINUXKPI_GENSRCS}
SRCS+= opt_wlan.h opt_inet6.h opt_inet.h
CFLAGS+= -DKBUILD_MODNAME='"rtw88"'
+CFLAGS+= -DLINUXKPI_VERSION=61400
CFLAGS+= -I${DEVRTW88DIR}
CFLAGS+= ${LINUXKPI_INCLUDES}
diff --git a/sys/modules/rtw89/Makefile b/sys/modules/rtw89/Makefile
index ae31b7dbd1b6..792058f79830 100644
--- a/sys/modules/rtw89/Makefile
+++ b/sys/modules/rtw89/Makefile
@@ -40,6 +40,7 @@ SRCS+= ${LINUXKPI_GENSRCS}
SRCS+= opt_wlan.h opt_inet6.h opt_inet.h opt_acpi.h
CFLAGS+= -DKBUILD_MODNAME='"rtw89"'
+CFLAGS+= -DLINUXKPI_VERSION=61400
CFLAGS+= -DLINUXKPI_WANT_LINUX_ACPI
CFLAGS+= -I${DEVRTW89DIR}