Re: Kernel device for iwlwifi in 13.3?

From: Roger Marquis <marquis_at_roble.com>
Date: Mon, 10 Jun 2024 02:38:06 UTC
WITHOUT_WIRELESS=yes in /etc/src.conf didn't prevent the creation of
iwlwifi .ko files (on 13.3-RELEASE).  Interestingly though, other
WITHOUT_ settings did prevent the creation of their respective modules.
Why the different behavior and can these modules can be simply deleted?

Also wondering why there is no iwl* in /usr/src/sys/amd64/conf/* and
what, if anything,

    include         GENERIC
    nodevice        wlan

might effect during a kernel build.

Roger

>
>> On Jun 7, 2024, at 11:13, Roger Marquis <marquis@roble.com> wrote:
>>
>> 13.3 Installkernel shows several new modules for iwlwifi* under /boot.
>> Trouble is there doesn't seem to be a corresponding device in the kernel
>> definition file.  These .ko files are also created regardless of
>> OPTIONS_UNSET+=WIRELESS in /etc/src.conf.  Did I miss a release note
>> somewhere?
>
> Try WITHOUT_WIRELESS and use SUBMODULES_OVERRIDE with /etc/src.conf .
> As des@ noted, those options are specific to ports, not src.
> Hope that helps,
> -Enji
>