Document that MODULE_DEPEND does not change runtime initialization

order.

Mostly submitted by:	scottl
Discussed on:		cvs-src/src-committers
This commit is contained in:
Simon L. B. Nielsen 2005-01-11 20:56:03 +00:00
parent 2d82ac3110
commit 6821b22557
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140082

View File

@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd January 7, 2005
.Dd January 11, 2005
.Dt MODULE_DEPEND 9
.Os
.Sh NAME
@ -47,6 +47,15 @@ which has registered
its version with
.Fn MODULE_VERSION .
.Pp
The
.Fn MODULE_DEPEND
macro provides hints to the kernel
.Xr loader 8
and to the kernel linker to ensure that the named dependency is loaded
prior to the existing module.
It does not change or dictate the order in which modules are
initialized at runtime.
.Pp
Three versions must be specified for
.Fa moddepend :
.Bl -tag -width ".Fa prefversion"