diff options
author | Bruce Evans <bde@FreeBSD.org> | 2001-03-29 10:18:54 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2001-03-29 10:18:54 +0000 |
commit | 74c3913eb4e21a1047390c9956254b029dae96e2 (patch) | |
tree | bb1f41d64e63cda16ac356cf094578c47243814b /share | |
parent | 16bef91c0a40b5191a6c4560f3e8d9c382efde0f (diff) | |
download | src-74c3913eb4e21a1047390c9956254b029dae96e2.tar.gz src-74c3913eb4e21a1047390c9956254b029dae96e2.zip |
Fixed missing and disorded includes in synopsis.
Removed bogus quotes in .Fn invocations. Single words don't need quoting.
Notes
Notes:
svn path=/head/; revision=74984
Diffstat (limited to 'share')
-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 5cfaa9d2e0e9..539de7fd9bf6 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 |