The branch main has been updated by bz:

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

commit aecd63f4479423a65bdde7f93da66139293f0928
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-08-21 06:28:56 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-08-21 14:21:10 +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
    MFC after:      3 days
---
 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 9739ede11073..822be639da43 100644
--- a/sys/modules/rtw88/Makefile
+++ b/sys/modules/rtw88/Makefile
@@ -43,6 +43,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 09580f288c62..e66f85c3ac17 100644
--- a/sys/modules/rtw89/Makefile
+++ b/sys/modules/rtw89/Makefile
@@ -39,6 +39,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}

Reply via email to