diff options
author | alex <alex@FreeBSD.org> | 2001-08-21 22:14:43 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-08-21 22:14:43 +0000 |
commit | 611f85ab225f18f5b459931cb562211a398a100e (patch) | |
tree | c69421e38d2bdb6f8aa71c0d7f4a9a7c0c9477d5 /share | |
parent | 8580722a5758457db95967e13acc9477c32fd86d (diff) | |
download | FreeBSD-src-611f85ab225f18f5b459931cb562211a398a100e.zip FreeBSD-src-611f85ab225f18f5b459931cb562211a398a100e.tar.gz |
Add MULTI_DRIVER_MODULE().
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/DRIVER_MODULE.9 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9 index ce8e77d..d8b9626 100644 --- a/share/man/man9/DRIVER_MODULE.9 +++ b/share/man/man9/DRIVER_MODULE.9 @@ -39,6 +39,7 @@ .Fd #include <sys/bus.h> .Fd #include <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 @@ -94,6 +95,11 @@ The is unused at this time and should be a .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 , |