summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2006-09-27 21:28:44 +0000
committerdanger <danger@FreeBSD.org>2006-09-27 21:28:44 +0000
commit1584e18eed69bf78259e28df329715e93180eee4 (patch)
tree0f0efac3fa126739988ab4bb4b5ee77028bfd035 /share/examples
parent4ef62e4ca582414062d69e20a1ccdade4a110938 (diff)
downloadFreeBSD-src-1584e18eed69bf78259e28df329715e93180eee4.zip
FreeBSD-src-1584e18eed69bf78259e28df329715e93180eee4.tar.gz
Revert my previous change as it does not seem to be entirely correct and
popular.
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/mdoc/example.414
1 files changed, 8 insertions, 6 deletions
diff --git a/share/examples/mdoc/example.4 b/share/examples/mdoc/example.4
index c722698..a5fa1a6 100644
--- a/share/examples/mdoc/example.4
+++ b/share/examples/mdoc/example.4
@@ -33,9 +33,11 @@
.Nm example
.Nd "example device driver manual page"
.Sh SYNOPSIS
-To enable support for
-.Ns Nm ,
-place the following lines in the kernel configuration file:
+To compile the
+.Ns Nm
+driver into the kernel,
+place the following lines in the
+kernel configuration file:
.Bd -ragged -offset indent
.Cd "device example"
.Cd "options EXAMPLE_DEBUG"
@@ -43,9 +45,9 @@ place the following lines in the kernel configuration file:
.Pp
Alternatively, to load the
.Ns Nm
-as a module at boot time, add the following line into the
-.Xr loader.conf 5
-file:
+driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
.Bd -literal -offset indent
example_load="YES"
.Ed
OpenPOWER on IntegriCloud