1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

- correct two typos

- Use NULL instead of 0 for pointers (style(9)!)

Submitted by:	Joel Wilsson <siigron@sii.linuxsweden.nu>
MFC after:	37 days
This commit is contained in:
Alexander Langer 2001-07-13 16:10:39 +00:00
parent 76dada465b
commit 4dad593a95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79676

View File

@ -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