git: 61d9d5f31c71 - stable/15 - ucom.4: Canonicalize SYNOPSIS + tag SPDX

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

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

commit 61d9d5f31c7179bd9c8ca5418f6181c71870f864
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-13 15:31:14 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-16 12:03:54 +0000

    ucom.4: Canonicalize SYNOPSIS + tag SPDX
    
    Event:          EuroBSDcon 2026
    MFC after:      3 days
    
    (cherry picked from commit 08ab66b3f69391e753c6f5449105d61ce81cd0ed)
---
 share/man/man4/ucom.4 | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/share/man/man4/ucom.4 b/share/man/man4/ucom.4
index b9f40777bc94..478189ca6546 100644
--- a/share/man/man4/ucom.4
+++ b/share/man/man4/ucom.4
@@ -1,3 +1,6 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
 .\" $NetBSD: ucom.4,v 1.9 2002/03/22 00:39:40 augustss Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,19 +37,19 @@
 .Nm ucom
 .Nd USB tty support
 .Sh SYNOPSIS
-To compile this driver into the kernel,
-place the following line in your
-kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device ucom"
-.Ed
+.Cd device ucom
 .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
-ucom_load="YES"
-.Ed
+.Cd ucom_load="YES"
+.Pp
+.In
+.Xr loader.conf 5
+or
+.Xr sysctl.conf 5 :
+.Cd hw.usb.ucom.debug
+.Cd hw.usb.ucom.device_mode_console
+.Cd hw.usb.ucom.pps_mode
 .Sh DESCRIPTION
 The
 .Nm