docs/150244: MULTI_DRIVER_MODULE is only in man page
Gireesh Nagabhushana
dngireesh at avrita.com
Fri Sep 3 10:40:07 UTC 2010
>Number: 150244
>Category: docs
>Synopsis: MULTI_DRIVER_MODULE is only in man page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 03 10:40:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Gireesh Nagabhushana
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD tonglu.asicdesigners 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r211419M: Wed Aug 18 17:49:06 IST 2010 root at tonglu.asicdesigners:/export/head_2010_08_17/sys/amd64/compile/DNG1808 amd64
>Description:
Man page - DRIVER_MODULE(9) - still has MULTI_DRIVER_MODULE. But based on search in Internet, it looks like MULTI_DRIVER_MODULE has been removed. I also didn't see this in source.
>How-To-Repeat:
-
>Fix:
Remove lines about MULTI_DRIVER_MODULE from man page of DRIVER_MODULE(9).
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 211419)
+++ Makefile (working copy)
@@ -600,7 +600,7 @@
domain.9 pfctlinput2.9 \
domain.9 pffindproto.9 \
domain.9 pffindtype.9
-MLINKS+=DRIVER_MODULE.9 MULTI_DRIVER_MODULE.9
+MLINKS+=DRIVER_MODULE.9
MLINKS+=EVENTHANDLER.9 EVENTHANDLER_DECLARE.9 \
EVENTHANDLER.9 EVENTHANDLER_DEREGISTER.9 \
EVENTHANDLER.9 eventhandler_deregister.9 \
Index: DRIVER_MODULE.9
===================================================================
--- DRIVER_MODULE.9 (revision 211419)
+++ DRIVER_MODULE.9 (working copy)
@@ -40,7 +40,6 @@
.In sys/bus.h
.In sys/module.h
.Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg"
-.Fn MULTI_DRIVER_MODULE name busname "driver_t drivers[]" "devclass_t devclass" "modeventhand_t evh" "void *arg"
.Sh DESCRIPTION
The
.Fn DRIVER_MODULE
@@ -97,10 +96,6 @@
.Dv NULL
pointer.
.Pp
-.Fn MULTI_DRIVER_MODULE
-is a special version of
-.Fn DRIVER_MODULE ,
-which takes a list of drivers instead of a single driver instance.
.Sh SEE ALSO
.Xr device 9 ,
.Xr driver 9 ,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list