Page MenuHomeFreeBSD

D54586.id169270.diff
No OneTemporary

D54586.id169270.diff

diff --git a/contrib/mandoc/mdoc.7 b/contrib/mandoc/mdoc.7
--- a/contrib/mandoc/mdoc.7
+++ b/contrib/mandoc/mdoc.7
@@ -1183,11 +1183,13 @@
.It Ic \&Cd Ar line
Kernel configuration declaration.
This denotes strings accepted by
-.Xr config 8 .
+.Xr config 8
+or, on FreeBSD, other kernel configuration.
It is most often used in section 4 manual pages.
.Pp
Examples:
.Dl \&.Cd device le0 at scode?
+.Dl \&.Cd kern.vty=vt
.Pp
.Em Remarks :
this macro is commonly abused by using quoted literals to retain
diff --git a/share/examples/mdoc/example.4 b/share/examples/mdoc/example.4
--- a/share/examples/mdoc/example.4
+++ b/share/examples/mdoc/example.4
@@ -5,27 +5,19 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd July 31, 2015
-.Dt EXAMPLE 4 i386
+.Dd January 6, 2026
+.Dt EXAMPLE 4 amd64
.Os
.Sh NAME
.Nm example
.Nd example device driver manual page
.Sh SYNOPSIS
-To compile the driver into the kernel,
-place the following lines in the
-kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device example"
-.Cd "options EXAMPLE_DEBUG"
-.Ed
+.Cd options EXAMPLE_DEBUG
+.Cd device example
.Pp
-Alternatively, to load the driver as a
-module at boot time, place the following line in
+In
.Xr loader.conf 5 :
-.Bd -literal -offset indent
-example_load="YES"
-.Ed
+.Cd here.is.a.example.tunable
.Sh DEPRECATION NOTICE
This driver is scheduled for removal prior to the release of
.Fx 17.0 .

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 26, 9:40 AM (10 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28019308
Default Alt Text
D54586.id169270.diff (1 KB)

Event Timeline