aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2005-01-11 20:56:03 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2005-01-11 20:56:03 +0000
commit6821b225573f069826e092e88cfc7090989f09ae (patch)
tree8a4d1dbc94c0cc18b9cca295c961da4dbb9679a5 /share
parent2d82ac311025b5b76c1973d61d653f620bb17208 (diff)
downloadsrc-6821b225573f069826e092e88cfc7090989f09ae.tar.gz
src-6821b225573f069826e092e88cfc7090989f09ae.zip
Document that MODULE_DEPEND does not change runtime initialization
order. Mostly submitted by: scottl Discussed on: cvs-src/src-committers
Notes
Notes: svn path=/head/; revision=140082
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/MODULE_DEPEND.911
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/MODULE_DEPEND.9 b/share/man/man9/MODULE_DEPEND.9
index 753c653aa2d8..c0a8fdd44c94 100644
--- a/share/man/man9/MODULE_DEPEND.9
+++ b/share/man/man9/MODULE_DEPEND.9
@@ -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"