From nobody Sat Jan 17 13:09:11 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dtcVw3Q2hz6NgtM for ; Sat, 17 Jan 2026 13:09:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dtcVv35Mhz3DQ5 for ; Sat, 17 Jan 2026 13:09:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768655351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E4y7mobuGuxHeCILLGFC6EEujbQ/vfhKR+FXtG71QG0=; b=rgf1m0mAUmgeuHw3Po6RFl2Hrm+kW5Cw1ridTgU/0QAaqfdRqck+EFpg/UzhUvU8u1L1Vl iLJXThwPYZtsKAF8/YLTUi7JNWYtk0K+oZjXUI3690JzTN83+8spu/tYM5N/N/YZMC0Rw5 O4MJVQ8ce1URNx6Zp4OrNQOGyRa2wnIwAS+i5pg+PItQX/sxmBobqnbRcimPtv08G+gsWF kzGbt5RRKDWY+t5PdLqe4NLZmEO7aLF1FkuEwZav1C6DWOVzc6Dp5/5bH5bjJ/G16St7Uk ID7yR3dq1nkYpj4Rl6h3IZ4pd7SpaFWeLasKkssIqVwqh0g3unjJ+27yNUFTjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768655351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E4y7mobuGuxHeCILLGFC6EEujbQ/vfhKR+FXtG71QG0=; b=ReWhpgIZ7a9Dma36fGo1A3yatjRfMxBNkv6XIgAOHlfaRgIOGit61UK2ZA+qJD+6BLRUaa 2hVtljvQ1lauvKiK3od9lo7XZ3CHQ88SyeGEdbXffvuDtWuQQUHljPn95FVX8ftmePYSHJ pDw0XFD0zXAH9NBxtdjVBeuey1MT8j2caqA0LDKMb+51J2ujOWqfeiTBEm2QrPxAZkVECr izzsBomDH0+8TJ+IumMa8XR7NRKrwKnjFjkBC8rYCRYJ80KVw/PEeGwRIF50ikP5bNfZlg WZQ359U7h6rLRJtqknsF5YSEh7a9ojHCG7ADUBwTcmGfJWuqf3zzj6cawnnqiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768655351; a=rsa-sha256; cv=none; b=a1+tCrTa+PDWpajy/5j5hRT5yqVUhHkXCtzQNY5B+/7+mXI6e19vJK9jViePyzncvF9zSe LI1dQ9nFCATe55ZbdqB0yX+qBgi9CQOkReK4/VWfeGhXgbPXCu7BbDgKuImsplLF6dto1m Dbalti2Phs1grkd+gNz8tdXJZSuIXTJ8+Y0U3VaEsUx8Tb9Zac8dGzgJVCKGZdoalAiHOm Wx//xYmMGR/3UTZE+x3RxkRnpeck2nfHrSEfwVNhoEAUYZ6ZYlTiRcseET4h8b5XIEuZ5b 5cTJ51BJhmH2l+5s7KbiTwpoiFOH1bgK8TDNy7D3jPpUYZIlBfZIScFqCGnlWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dtcVv2ZlPz11hj for ; Sat, 17 Jan 2026 13:09:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43561 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 17 Jan 2026 13:09:11 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 7990fa2a819c - stable/15 - modules: factor out LinuxKPI based wireless drivers and add RISC-V List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 7990fa2a819c21affcad341cd3e4f62d16c6f636 Auto-Submitted: auto-generated Date: Sat, 17 Jan 2026 13:09:11 +0000 Message-Id: <696b89f7.43561.23b22814@gitrepo.freebsd.org> The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=7990fa2a819c21affcad341cd3e4f62d16c6f636 commit 7990fa2a819c21affcad341cd3e4f62d16c6f636 Author: Bjoern A. Zeeb AuthorDate: 2026-01-13 21:05:05 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-01-17 07:51:08 +0000 modules: factor out LinuxKPI based wireless drivers and add RISC-V 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 Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D54693 (cherry picked from commit 4162a419a475089c8a3d2350de40c58b023e9288) --- sys/modules/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 2b41366579bb..924ddd880000 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -548,6 +548,17 @@ SUBDIR+= linux64 SUBDIR+= linux_common .endif +# LinuxKPI based wireless drivers. +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ + ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "riscv" +_iwlwifi= iwlwifi +_rtw88= rtw88 +# rtw89 currently cannot be compiled without ACPI (seems also broken in Linux). +.if ${KERN_OPTS:MDEV_ACPI} +_rtw89= rtw89 +.endif +.endif + .if ${MACHINE_CPUARCH} != "arm" .if ${MK_OFED} != "no" || defined(ALL_MODULES) _ibcore= ibcore @@ -579,9 +590,6 @@ _mlx5ib= mlx5ib _ena= ena _gve= gve _igc= igc -_iwlwifi= iwlwifi -_rtw88= rtw88 -_rtw89= rtw89 _vmware= vmware .endif