Compiling iwm as module

Gary Palmer gpalmer at freebsd.org
Thu Sep 13 17:21:24 UTC 2018


On Thu, Sep 13, 2018 at 06:39:36PM +0200, Goran Meki?? wrote:
> Hello,
> 
> My wife decided to give FreeBSD a try, but her laptop has iwm driver,
> which is not yet in GENERIC on 11.2-RELEASE. Is there a way to compile
> only mentioned driver and not the whole kernel/world? If it isn't, can
> I compile only kernel given I take good care which sources I download?
> I'd like to provide her as smooth FreeBSD experience as I can, and for
> her it means less compiling when she update's her system. Thanx!

Hi,

Do you not have /boot/kernel/if_iwm.ko already?  It should have
shipped with the release.  If you put

if_iwm_load="YES"
iwm3160fw_load="YES"
iwm7260fw_load="YES"
iwm7265fw_load="YES"
iwm8000Cfw_load="YES"

in /boot/loader.conf and reboot the modules should load and the
device should be found

You probably don't need all the FW modules, you can trim it down
to the one you need

Regards,

Gary



More information about the freebsd-net mailing list