load a driver during autoconfiguration

Matías Perret Cantoni perretcantonim at gmail.com
Fri Mar 6 19:15:23 UTC 2015


Hello!

I just wrote a simple newbus driver that works just fine when I load it
manually with kldload(8).

Now I'd like the system to load it automatically at boot time. I've already
added the corresponding node on the dts file.

So my questions are:

Can I just place the driver under some directory so that the system can
probe it during auto-configuration?

Or do I need to re-compile the whole kernel for this? In that case where
should I place my sources before compiling?

Thank in advance.
Regards,
Matias.-


More information about the freebsd-drivers mailing list