diff options
author | alex <alex@FreeBSD.org> | 2001-03-11 17:07:20 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-03-11 17:07:20 +0000 |
commit | 7620114ca978cd5e885fe35d08606a698c51d9e1 (patch) | |
tree | 3f0b837edd6a81589dcb1002d54bcd480005be5d /share | |
parent | 93f23e82927cca3afe884ecd7f104feb2c0fcb05 (diff) | |
download | FreeBSD-src-7620114ca978cd5e885fe35d08606a698c51d9e1.zip FreeBSD-src-7620114ca978cd5e885fe35d08606a698c51d9e1.tar.gz |
Use type of modeventhand_t for the event handler (defined in module.h).
Add a reference to module(9) for more info about the event handler.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/DRIVER_MODULE.9 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9 index ad45ef7..dbf5738 100644 --- a/share/man/man9/DRIVER_MODULE.9 +++ b/share/man/man9/DRIVER_MODULE.9 @@ -35,8 +35,9 @@ .Nm DRIVER_MODULE .Nd kernel driver declaration macro .Sh SYNOPSIS +.Fd #include <sys/module.h> .Fd #include <sys/bus.h> -.Fn DRIVER_MODULE "name" "busname" "driver_t driver" "devclass_t devclass" "int (*evh) (struct module *, int, void *)" "void *arg" +.Fn DRIVER_MODULE "name" "busname" "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" .Sh DESCRIPTION The .Fn DRIVER_MODULE @@ -84,7 +85,8 @@ which will be used wthin the kernel driver module. The .Fa evh argument is the event handler which is called when the driver (or module) -is loaded or unloaded. +is loaded or unloaded (see +.Xr module 9 ) . .Pp The .Fa arg @@ -93,7 +95,8 @@ is unused at this time and should be a pointer. .Sh SEE ALSO .Xr driver 9 , -.Xr device 9 +.Xr device 9 , +.Xr module 9 .Sh AUTHORS This manual page was written by .An Alexander Langer Aq alex@FreeBSD.org . |