diff options
-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 . |