diff options
author | bde <bde@FreeBSD.org> | 2001-03-29 10:18:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-03-29 10:18:54 +0000 |
commit | 006416e0f7c6822a05f8a5f8ed56c2fd843ec3c8 (patch) | |
tree | 4d366f81fe97cb0c35ac1cf026a44780c68d9c86 /share/man/man9/DRIVER_MODULE.9 | |
parent | 4c29931b6c818e14847c7f257666594f834b9e10 (diff) | |
download | FreeBSD-src-006416e0f7c6822a05f8a5f8ed56c2fd843ec3c8.zip FreeBSD-src-006416e0f7c6822a05f8a5f8ed56c2fd843ec3c8.tar.gz |
Fixed missing and disorded includes in synopsis.
Removed bogus quotes in .Fn invocations. Single words don't need quoting.
Diffstat (limited to 'share/man/man9/DRIVER_MODULE.9')
-rw-r--r-- | share/man/man9/DRIVER_MODULE.9 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9 index 5cfaa9d..539de7f 100644 --- a/share/man/man9/DRIVER_MODULE.9 +++ b/share/man/man9/DRIVER_MODULE.9 @@ -35,9 +35,10 @@ .Nm DRIVER_MODULE .Nd kernel driver declaration macro .Sh SYNOPSIS -.Fd #include <sys/module.h> +.Fd #include <sys/types.h> .Fd #include <sys/bus.h> -.Fn DRIVER_MODULE "name" "busname" "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" +.Fd #include <sys/module.h> +.Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" .Sh DESCRIPTION The .Fn DRIVER_MODULE @@ -66,9 +67,9 @@ which is a pretty clean way of making front ends for different cards using the same driver on the same or different busses. For example, the following is allowed: .Pp -.Fn DRIVER_MODULE "foo" "isa" "foo_driver" "foo_devclass" "0" "0" ; +.Fn DRIVER_MODULE foo isa foo_driver foo_devclass 0 0 ; .Pp -.Fn DRIVER_MODULE "foo" "pci" "foo_driver" "foo_devclass" "0" "0" ; +.Fn DRIVER_MODULE foo pci foo_driver foo_devclass 0 0 ; .Pp .Fa driver is the driver of type |