git: f319d2716b7f - stable/15 - nvd.4: Canonicalize SYNOPSIS, TUNABLES, tag SPDX

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Wed, 16 Sep 2026 12:05:07 UTC
The branch stable/15 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=f319d2716b7f1c68511267526d86be289f2304f3

commit f319d2716b7f1c68511267526d86be289f2304f3
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-06 17:04:59 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-16 12:03:45 +0000

    nvd.4: Canonicalize SYNOPSIS, TUNABLES, tag SPDX
    
    MFC after:      3 days
    Event:          Berlin Hackathon 202609
    
    (cherry picked from commit 04f53c5fa4cc8109fb263c6eed3b3c45099411f5)
---
 share/man/man4/nvd.4 | 35 +++++++++++++----------------------
 1 file changed, 13 insertions(+), 22 deletions(-)

diff --git a/share/man/man4/nvd.4 b/share/man/man4/nvd.4
index 1861fabc91d0..5cbfc78b947a 100644
--- a/share/man/man4/nvd.4
+++ b/share/man/man4/nvd.4
@@ -1,4 +1,6 @@
 .\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
 .\" Copyright (c) 2012-2016 Intel Corporation
 .\" All rights reserved.
 .\"
@@ -38,19 +40,8 @@
 .Nm nvd
 .Nd NVM Express disk driver
 .Sh SYNOPSIS
-To compile this driver into your kernel,
-place the following lines in your kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device nvme"
-.Cd "device nvd"
-.Ed
-.Pp
-Or, to load the driver as a module at boot, place the following lines in
-.Xr loader.conf 5 :
-.Bd -literal -offset indent
-nvme_load="YES"
-nvd_load="YES"
-.Ed
+.Cd device nvme
+.Cd device nvd
 .Sh DESCRIPTION
 The
 .Nm
@@ -76,16 +67,16 @@ disks and cannot be partitioned.
 The
 .Nm
 driver supports NVMe storage devices using NVMe namespaces.
-.Sh CONFIGURATION
-The
-.Nm
-driver defines a system-wide maximum delete size for NVMe devices.
-The default is 1GB.
-To select a different value, set the following tunable in
+.Sh LOADER TUNABLES
+The following settings can be configured at the
+.Xr loader 8
+prompt, or set in
 .Xr loader.conf 5 :
-.Bd -literal -offset indent
-hw.nvd.delete_max=<delete size in bytes>
-.Ed
+.Bl -tag -width "hw.nvd.delete_max"
+.It Va hw.nvd.delete_max
+System-wide maximum delete size for NVMe devices in bytes.
+The default is 1GB.
+.El
 .Sh SEE ALSO
 .Xr GEOM 4 ,
 .Xr nda 4 ,