Kernel device load order/dependency

John Baldwin jhb at freebsd.org
Fri Dec 23 05:53:49 PST 2005


On Thursday 22 December 2005 05:30 pm, Joao Barros wrote:
> Hi,
>
> How can I make a pseudo device load before another device or even
> better make one depend on the load of another.
> I'm importing the raid management framework from OpenBSD and the
> driver is loading/unloading fine but I need it to load before amr and
> ciss.

Use MODULE_DEPEND to have the drivers depend on your module.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-drivers mailing list