summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-07-13 16:10:39 +0000
committeralex <alex@FreeBSD.org>2001-07-13 16:10:39 +0000
commite01533d08af3d3d2dbdcfcc82678b54dd9cef54d (patch)
treedb5d0885891ae7d0351055d0625e572328006410 /share
parent785c88c05637824537f6ad6fb9020923b4264703 (diff)
downloadFreeBSD-src-e01533d08af3d3d2dbdcfcc82678b54dd9cef54d.zip
FreeBSD-src-e01533d08af3d3d2dbdcfcc82678b54dd9cef54d.tar.gz
- correct two typos
- Use NULL instead of 0 for pointers (style(9)!) Submitted by: Joel Wilsson <siigron@sii.linuxsweden.nu> MFC after: 37 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/DRIVER_MODULE.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9
index c69b395..2aa0b79 100644
--- a/share/man/man9/DRIVER_MODULE.9
+++ b/share/man/man9/DRIVER_MODULE.9
@@ -47,7 +47,7 @@ macro declares a kernel driver.
expands to the real driver declaration, where the phrase
.Fa name
is used as the naming prefix for the driver and its functions.
-Note that it supplied as plain text, and not a
+Note that it is supplied as plain text, and not a
.Li char
or
.Li char * .
@@ -67,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 NULL NULL ;
.Pp
-.Fn DRIVER_MODULE foo pci foo_driver foo_devclass 0 0 ;
+.Fn DRIVER_MODULE foo pci foo_driver foo_devclass NULL NULL ;
.Pp
.Fa driver
is the driver of type
@@ -81,7 +81,7 @@ two most important parts of the call to
The
.Fa devclass
argument contains the kernel-internal information about the device,
-which will be used wthin the kernel driver module.
+which will be used within the kernel driver module.
.Pp
The
.Fa evh
OpenPOWER on IntegriCloud