Module Name: src Committed By: pgoyette Date: Sun Oct 4 22:51:19 UTC 2015
Modified Files: src/share/man/man9: module.9 Log Message: Minor tweaks, from Michael McConville To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/share/man/man9/module.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/module.9 diff -u src/share/man/man9/module.9:1.37 src/share/man/man9/module.9:1.38 --- src/share/man/man9/module.9:1.37 Thu Jun 4 01:58:30 2015 +++ src/share/man/man9/module.9 Sun Oct 4 22:51:19 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: module.9,v 1.37 2015/06/04 01:58:30 pgoyette Exp $ +.\" $NetBSD: module.9,v 1.38 2015/10/04 22:51:19 pgoyette Exp $ .\" .\" Copyright (c) 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 18, 2011 +.Dd October 5, 2015 .Dt MODULE 9 .Os .Sh NAME @@ -74,8 +74,9 @@ the kernel and reboot. Modules can be loaded from within the kernel image, provided by the boot loader, or loaded from the file system. .Pp -Two data types are relevant for -.Nm : +The +.Nm +subsystem includes two data types: .Bl -enum -offset indent .It The @@ -84,10 +85,13 @@ type provides storage to describe a modu .It The .Vt modinfo_t -type resides within the module itself, and contains module header info. +type resides within +.Vt module_t +and contains module header info. .El .Pp -The module subsystem is protected by the global kernconfig_mutex. +The module subsystem is protected by the global +.Va kernconfig_mutex . .Sh FUNCTIONS .Bl -tag -width abcd .It Fn MODULE "class" "name" "required"