git: f4e7e5eced39 - main - ukbd.4: Canonicalize SYNOPSIS, tag SPDX

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Mon, 21 Sep 2026 17:07:05 UTC
The branch main has been updated by ziaee:

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

commit f4e7e5eced392b90fb265b06f4223c0301d777ff
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-21 17:02:13 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-21 17:06:40 +0000

    ukbd.4: Canonicalize SYNOPSIS, tag SPDX
    
    Also add a missing Cd tag for consistency.
    
    MFC after:      3 days
---
 share/man/man4/ukbd.4 | 40 +++++++++++++++++++++++++---------------
 1 file changed, 25 insertions(+), 15 deletions(-)

diff --git a/share/man/man4/ukbd.4 b/share/man/man4/ukbd.4
index 003600aac084..4f1bf43b0f60 100644
--- a/share/man/man4/ukbd.4
+++ b/share/man/man4/ukbd.4
@@ -1,3 +1,6 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
 .\" Copyright (c) 1997, 1998
 .\"	Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved.
 .\"
@@ -29,21 +32,28 @@
 .Nm ukbd
 .Nd USB keyboard driver
 .Sh SYNOPSIS
-To compile this driver into the kernel,
-place the following line in your
-kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device ukbd"
-.Cd "device hid"
-.Cd "device usb"
-.Ed
-.Pp
-Alternatively, to load the driver as a
-module at boot time, place the following line in
+.Cd device hid
+.Cd device usb
+.Cd device ukbd
+.Cd options KBD_DELAY1
+.Cd options KBD_DELAY2
+.Cd options KBD_DISABLE_KEYMAP_LOADING
+.Cd options KBD_INSTALL_CDEV
+.Cd options UKBD_DFLT_KEYMAP
+.Pp
+In
 .Xr loader.conf 5 :
-.Bd -literal -offset indent
-ukbd_load="YES"
-.Ed
+.Cd ukbd_load="YES"
+.Pp
+In
+.Xr loader.conf 5
+or
+.Xr sysctl.conf 5 :
+.Cd hw.usb.ukbd.apple_fn_mode
+.Cd hw.usb.ukbd.apple_swap_cmd_ctl
+.Cd hw.usb.ukbd.apple_swap_cmd_opt
+.Cd hw.usb.ukbd.debug
+.Cd hw.usb.ukbd.no_leds
 .Sh DESCRIPTION
 The
 .Nm
@@ -59,7 +69,7 @@ By default, the keyboard subsystem does not create the appropriate devices yet.
 Make sure you reconfigure your kernel with the following option in the kernel
 config file:
 .Pp
-.Dl "options KBD_INSTALL_CDEV"
+.Dl Cd options KBD_INSTALL_CDEV
 .Pp
 If both an AT keyboard USB keyboards are used at the same time, the
 AT keyboard will appear as