HomeFreeBSD

iwlwifi/rtw89: improve module Makefile dependency on ACPI

Description

iwlwifi/rtw89: improve module Makefile dependency on ACPI

In order to compile iwlwifi(4) and rtw89(4) on RISC-V [1] make the
currently manually tracked ACPI support option automatic based on
DEV_ACPI.
rtw89(4) is missing proper CONFIG_ACPI checks in the driver (or the
mandatory dependency on ACPI) even upstream it seems. We just added
that check to the modules/Makefile until this is fixed.

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

Sponosred by: The FreeBSD Foundation
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D54694

(cherry picked from commit f5a77dc8f8df09a907c2a2bdf86802513b1ebb15)

Details

Provenance
bzAuthored on Jan 13 2026, 9:09 PM
Reviewer
emaste
Differential Revision
D54694: iwlwifi/rtw89: improve module Makefile dependency on ACPI
Parents
rG7990fa2a819c: modules: factor out LinuxKPI based wireless drivers and add RISC-V
Branches
Unknown
Tags
Unknown