According to https://www.freebsd.org/cgi/man.cgi?bwn I am supposed to put stuff into my kernel configuration file. What kernel configuration file? Where is it? Once I find it, and put my stuff in there then how do I recompile the kernel?
To compile this driver into the kernel, …
If you need to compile this driver into the kernel, …
To load the driver as a module at boot, …
kldstat | grep bwn
kldstat
, not kldtsat
)Handbook: Chapter 8. Configuring the FreeBSD KernelWhat kernel configuration file? Where is it? Once I find it, and put my stuff in there then how do I recompile the kernel?
Traditionally, FreeBSD used a monolithic kernel. The kernel was one large program, supported a fixed list of devices, and in order to change the kernel’s behavior, one had to compile and then reboot into a new kernel.
Today, most of the functionality in the FreeBSD kernel is contained in modules which can be dynamically loaded and unloaded from the kernel as necessary. This allows the running kernel to adapt immediately to new hardware and for new functionality to be brought into the kernel. This is known as a modular kernel.