From nobody Wed Sep 16 12:04:50 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hlHcy431nz6t5yN for ; Wed, 16 Sep 2026 12:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hlHcy2t8wz4KKN for ; Wed, 16 Sep 2026 12:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789560290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bLLhPCgrwX3+eajP/amVHqtghFSNPbye0Ga19bBQuik=; b=xlf9Bd+pEE8SLiBpdWdhWDo/tH8QvpMBr/yDbb9gultRginWXy0n4UCZqytqNGsdRseHyK evoZlUZV+ElBRBQr5gPTZ9LnEYDDGruLyq6mNNWWLXBtwt1C8sJM/e3SZQmHA+x0LmG3JN XdXFaa5A7dhGPrI6zKzsyTTZB7t06QM621zfVJQ/7isyng3PmLyTIvsXrOm4Z0QhQLVGpH VceELu0pf8cDSp+Y1muK+ojYiasvICmMR6hFuCjOpPJIJaUWuQ7AKLcV2gH9yejzmCXM8R qSIh6U2EVHmazbGeZ98GBDMI3cWC0x9k/LEM9INtwT39XRg13gXl1USnJ/AyzQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789560290; b=Vf8pJpvudj2i8KxoBneLaPYOOnq0UmK9/oe2PhBlS+SZ7xXkM3c3RgiCFAFXs2UhVR86oV b4asBtHQMVVDtKcr38Rho9q9s5ISsjmUkBfnAhoUcubepbe6hnX1Ivlc7NTYu015+ith19 dmzAgLwPeVpv/bDhdgHKGiBJvqE0Lf33uzMzpfNMGXq7WmSb/G7trIBLmWd7xKUF545nP5 pYOKa4o1m6A0XOIwHdXhb//Kmyd9heiGtcJcLfWRVA5+31H3qhlfmYUumSax1xwlhkiwBP NBpsK7vQ1rtqvu1R8CePXgj9Wl8xI3ugHaTpo1nzywS37lC1mYPvp/nOvc69nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789560290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bLLhPCgrwX3+eajP/amVHqtghFSNPbye0Ga19bBQuik=; b=G6x19Ks4mKlXVdQdWpksgwV4WooT5Yu1A2bKeUKDyNdQ/ry0hhpTEz9G2UVT/2dKyAjopB k1FIUwfmxyaaIjMxGRBTqY4lBboEfVZk+x0akkV8R8KGS7Z0/n6ycL9IW4+QMqSIHlDiy+ ScnPOzPbHPBq5MlfSZvkTTvCo81LJGNS3yukJEI+57Y1ELmgn9/ER5TCcAcQyMEGHK1SCK Szg5KAvTGwsks3DuTYXNA/aDEoSxX5MjpAQoZAcPaoeWlsg6i6neTIvRnjQZ7VsZK2W97w NoOI4Vw1JYcBYKc455vken1rEMUbVHHnxGV+WBnPN3+HBqytw3evfGWKrAY1jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hlHcy1y3lzmPX for ; Wed, 16 Sep 2026 12:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 203cb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 16 Sep 2026 12:04:50 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: e3e0d4f1812c - stable/15 - virtio_scsi.4: Canonicalize List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: e3e0d4f1812cec88b20f42cf56242344062808c4 Auto-Submitted: auto-generated Date: Wed, 16 Sep 2026 12:04:50 +0000 Message-Id: <6aaa85e2.203cb.15c5dbf6@gitrepo.freebsd.org> The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=e3e0d4f1812cec88b20f42cf56242344062808c4 commit e3e0d4f1812cec88b20f42cf56242344062808c4 Author: Alexander Ziaee AuthorDate: 2026-08-29 18:14:36 +0000 Commit: Alexander Ziaee CommitDate: 2026-09-16 12:03:37 +0000 virtio_scsi.4: Canonicalize + Tag SPDX + Canonicalize SYNOPSIS and HARDWARE + Canonicalize SYSCTL VARIABLES, adding the sysctl to apropos + Canonicalize AUTHORS and HISTORY, which were combined + Use more traditional and consistent %d instead of less clear X MFC after: 3 days (cherry picked from commit 746b9102ed063bf5f87d8dc7649e3d0fab455c31) --- share/man/man4/virtio_scsi.4 | 60 +++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/share/man/man4/virtio_scsi.4 b/share/man/man4/virtio_scsi.4 index 0e62cd8f7ac9..715834025386 100644 --- a/share/man/man4/virtio_scsi.4 +++ b/share/man/man4/virtio_scsi.4 @@ -1,3 +1,6 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 2012 Bryan Venteicher .\" All rights reserved. .\" @@ -22,27 +25,26 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd June 24, 2012 +.Dd August 29, 2026 .Dt VIRTIO_SCSI 4 .Os .Sh NAME .Nm virtio_scsi .Nd VirtIO SCSI driver .Sh SYNOPSIS -To compile this driver into the kernel, -place the following lines in your -kernel configuration file: -.Bd -ragged -offset indent -.Cd "device virtio_scsi" -.Ed +.Cd device virtio_scsi .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 -virtio_scsi_load="YES" -.Ed -.Sh DESCRIPTION +.Cd hw.vtscsi.bus_reset_disable +.Cd virtio_scsi_load="YES" +.Pp +In +.Xr loader.conf 5 +or +.Xr sysctl.conf 5 : +.Cd hw.vtscsi.%d.debug_level +.Sh HARDWARE The .Nm device driver provides support for VirtIO SCSI devices. @@ -59,20 +61,19 @@ bus reset ineffective. This tunable disables attempts to issue reset bus commands. The default value is 1. .El -.Sh DEBUGGING -To enable debugging prints from the -.Nm -driver, set the -.Bd -literal -offset indent -hw.vtscsi.X.debug_level -.Ed -.Pp -variable, where X is the adapter number, either in -.Xr loader.conf 5 -or via -.Xr sysctl 8 . +.Sh SYSCTL VARIABLES +The following variables can be entered at the +.Xr loader 8 +prompt, set in +.Xr loader.conf 5 , +.Xr sysctl.conf 5 , +or changed at runtime with +.Xr sysctl 8 : +.Bl -tag -width indent +.It Va hw.vtscsi.%d.debug_level +Enable debugging prints. The following bits have the described effects: -.Bl -tag -width 6n -offset indent +.Bl -tag -width indent -offset indent .It 0x01 Enable informational prints. .It 0x02 @@ -80,12 +81,13 @@ Enable prints for driver errors. .It 0x04 Enable tracing prints. .El +.El .Sh SEE ALSO .Xr virtio 4 .Sh HISTORY The .Nm -driver was written by -.An Bryan Venteicher Aq Mt bryanv@FreeBSD.org . -It first appeared in +driver first appeared in .Fx 10.0 . +.Sh AUTHORS +.An Bryan Venteicher Aq Mt bryanv@FreeBSD.org .