Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2015 16:15:22 -0300
From:      =?UTF-8?Q?Mat=C3=ADas_Perret_Cantoni?= <perretcantonim@gmail.com>
To:        freebsd-drivers@freebsd.org
Subject:   load a driver during autoconfiguration
Message-ID:  <CADLKG03WSkbPPWwDkxd3NPa1q0cVP8C0JvA0T=Jwy2=wGv_tiA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLKG03WSkbPPWwDkxd3NPa1q0cVP8C0JvA0T=Jwy2=wGv_tiA>