Page MenuHomeFreeBSD

modules: factor out LinuxKPI based wireless drivers and add RISC-V
ClosedPublic

Authored by bz on Jan 13 2026, 9:17 PM.
Tags
None
Referenced Files
F151007760: D54693.id169576.diff
Sun, Apr 5, 10:39 AM
F150929261: D54693.diff
Sun, Apr 5, 12:35 AM
Unknown Object (File)
Sun, Mar 15, 7:08 AM
Unknown Object (File)
Sat, Mar 14, 10:20 PM
Unknown Object (File)
Sat, Mar 14, 10:20 PM
Unknown Object (File)
Thu, Mar 12, 5:16 AM
Unknown Object (File)
Sat, Mar 7, 10:02 PM
Unknown Object (File)
Sat, Mar 7, 11:02 AM
Subscribers
None

Details

Summary

The LinuxKPI based wireless drivers are currently limited to amd64 and
arm64 (and until cleaned up i386). Adding RISC-V now as we have a
report that iwlwifi(4) works on RISC-V [1]. Factor the LinuxKPI based
wireless drivers out into their own block.

Given RISC-V has no ACPI support yet (though we fixed #includes in
order to keep compiling the drivers without further modifications
where possible) we need to take care of rtw89 which fails to compile
without ACPI enabled. A quick check at the Linux build files indicates
that the depenency is not correctly recorded there either. Disable
compiling rtw89 without ACPI (on RISC-V) for the moment until this is
fixed.

[1] https://mail-archive.freebsd.org/cgi/getmsg.cgi?fetch=5947+0+archive/2026/freebsd-wireless/20260112.freebsd-wireless

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 69861
Build 66744: arc lint + arc unit