Revert my previous change as it does not seem to be entirely correct and
popular.
This commit is contained in:
parent
9fddcc6661
commit
eb2d52f4b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162712
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user