Make explicit note that MODULE_CLASS_ANY should note be used as the

class of a MODULE().  MODULE_CLASS_ANY is intended only to indicate
a "wildcard" match when (auto)loading modules.
This commit is contained in:
pgoyette 2019-04-07 22:32:10 +00:00
parent c807c367b6
commit f1af096dd8
1 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: module.9,v 1.51 2019/01/27 17:44:02 wiz Exp $
.\" $NetBSD: module.9,v 1.52 2019/04/07 22:32:10 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 September 8, 2018
.Dd April 8, 2019
.Dt MODULE 9
.Os
.Sh NAME
@ -131,7 +131,10 @@ macro creates and initializes a
structure.
The
.Fa class
argument identifies the class of module, and must be one of the following:
argument identifies the class of module, and must be one of the following
(note that
.Dv MODULE_CLASS_ANY
should not be used here):
.Bl -tag -width MODULE_CLASS_SECMODEL -offset indent
.It Dv MODULE_CLASS_VFS
The module provide a virtual file system - see