Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/modload For loadable drivers, the 3rd argument is chara...



details:   https://anonhg.NetBSD.org/src/rev/9eccdf34feb2
branches:  trunk
changeset: 536335:9eccdf34feb2
user:      gehenna <gehenna%NetBSD.org@localhost>
date:      Fri Sep 13 15:32:21 2002 +0000

description:
For loadable drivers, the 3rd argument is character device major and
the 4th argument is block device major.

Remove one item from BUGS section.

diffstat:

 sbin/modload/modload.8 |  12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diffs (34 lines):

diff -r 964ac06eee07 -r 9eccdf34feb2 sbin/modload/modload.8
--- a/sbin/modload/modload.8    Fri Sep 13 15:31:01 2002 +0000
+++ b/sbin/modload/modload.8    Fri Sep 13 15:32:21 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: modload.8,v 1.18 2002/02/08 01:30:44 ross Exp $
+.\" $NetBSD: modload.8,v 1.19 2002/09/13 15:32:21 gehenna Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -91,8 +91,8 @@
 be executed if the module is successfully loaded. It
 is always passed the module id (in decimal) and module
 type (in hexadecimal) as the first two arguments.
-For loadable drivers, the third argument is
-the block or character major device number.
+For loadable drivers, the third argument is the character major device number
+and the fourth argument is the block major device number.
 For a loadable system call, the third argument is the system
 call number.
 .It Fl o Ar output_file
@@ -128,13 +128,7 @@
 .Sh AUTHORS
 .An Terrence R. Lambert Aq terry%cs.weber.edu@localhost
 .Sh BUGS
-.Bl -bullet
-.It
-The loadable device driver framework can
-only reserve either a character or block device entry, not both.
-.It
 Loading the symbol table is expensive in terms of space:
 it presently duplicates all the kernel symbols for each lkm loaded
 with
 .Fl s .
-.El



Home | Main Index | Thread Index | Old Index