Date: Wed, 12 Jun 2024 14:28:46 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: Roger Marquis <marquis@roble.com> Cc: freebsd-arch@freebsd.org Subject: Re: Kernel device for iwlwifi in 13.3? Message-ID: <or23n70r-p5n0-8104-o89q-262p486qn284@SerrOFQ.bet> In-Reply-To: <09q5s28q-np09-73r0-9352-9p6333r830o9@mx.roble.com> References: <s67598s7-pqo4-p840-1p33-61r57p401440@mx.roble.com> <F9175D79-3B6A-4E1F-BC10-FC347BB2B1DA@gmail.com> <09q5s28q-np09-73r0-9352-9p6333r830o9@mx.roble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Jun 2024, Roger Marquis wrote: > 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? Because I missed that we have a kernel side knob as well? Though please read on... I'll look into it if it is indeed so but on a quick glance in man src.conf you would want WITHOUT_WIRELESS_SUPPORT. man src.conf WITHOUT_WIRELESS Do not build programs used for 802.11 wireless networks; especially wpa_supplicant(8) and hostapd(8). When set, these options are also in effect: WITHOUT_WIRELESS_SUPPORT (unless WITH_WIRELESS_SUPPORT is set explicitly) WITHOUT_WIRELESS_SUPPORT Build libraries, programs, and kernel modules without 802.11 wireless support. But neither of the WIRELESS[_SUPPORT] knobs seem to be applied anywahere in sys/modules at this point, so iwlwifi is no special but all kernel wifi modules would be built. % grep -r WIRELESS sys/modules/ % > Also wondering why there is no iwl* in /usr/src/sys/amd64/conf/* and > what, if anything, Because it is a non-essential driver to boot and so we only build it as a module which is a continuation of that people once started in order to get GENERIC size down. The module will be loaded at run-time automatically (in a default setup) if such a card is found in the system and the driver will then automatically load its firmware (which will hopefully eventually also not be in base anymore). /bz -- Bjoern A. Zeeb r15:7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?or23n70r-p5n0-8104-o89q-262p486qn284>