From nobody Thu Oct 2 18:56:13 2025 X-Original-To: dev-commits-src-all@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 4cd1Gj4dv6z69nGN; Thu, 02 Oct 2025 18:56:13 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cd1Gj3vW6z49Rq; Thu, 02 Oct 2025 18:56:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759431373; 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=CG4FDep3ytb51zIGjoY2J3mmsUBnpxmz7eKGNb+3nF4=; b=uh4QQQY4xlA3foAqO0Sb/mt5VFuU2GGyLnf494mrj9cn+gLADO6HrfZpeFsmfYqRE4nw8Z Tcw9PKaUWSMuwo5pa+5tQtZeW44nGI/rnLy6GIsSxNrabzy8F3z7xh+j6nJLCtPlUSOr1p mYydw8qHM5ChzV5cP5RuTRbhiAnsGgdqz57u9Ob7jL15yipvDvJ5a21S1tNlRI8z5n/UaC clrea3X6b/849w+lrRYDznvdv+whdVr6k+3N7Z2q2uGFRrjEaaQYCSaPBwVfhDRehOofOY yAsd2xXMK72uHnd9n4/On2ETMU+7EYrHheCaX8unYF4Fv5o3vq263FMH5Y/G1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759431373; 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=CG4FDep3ytb51zIGjoY2J3mmsUBnpxmz7eKGNb+3nF4=; b=bqJrhbYxWtnge7Eh9OdBMzzsR+Oyplp2RcgxsnD+dUiaLaGc5JvLRCC8ALC33Y245c6/3T d/PkY1kRDb+ih+ZcXeLL9ODpH/L6SalH8jw2+slxhZ4vksOJceBQiM223pWwBs7WgnScWM USg0QiPOgFlrmlR2/2GNjP+Z7BMKUzBe/ldAXhGl2erSb0B/5N3L+W5xwM3Eaeiy83X7ga HXwnt04A4eX0WmR6roqVaz+7xp3Onukzw553+0x5iPW398nZHvoiXzgcWMIwDm1I52EHaU Ol0fUuiHaoHnHociYE1gOR9JPSXlaBBgVM8+RjdJ4u3T46Q0EavGh9fuknyTjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759431373; a=rsa-sha256; cv=none; b=GomWCnYNMCDzgeDL3d1gY0Yy9OCnEhTMEsewaCmURJH2fMt8TQ4Qx1gbltSp6wH8jAtJbq y6JB7g8gJk3pWKFTG2uKP2SEJ0+vUCjL4OmOAuSM4ekrRApUdaTIjESkBnuBZpknXK/tt2 Y1GE6+3aLBQtZ9tt7ddYA/EW9bF4KLlOSvtQcKCEV3kdNK1CDikmToigGDe7qxTwsKqCBz 8KzyaMOjpbICygmtvBaCi8m683OGJAtjL3Gtusxq8UVgqVDrv1TC3Ti38EUQV8rJnaaDUj 7RI3BXKpYaid8qciM0ujK/8wHG8eK8nPE/fhyTPNm3PHw84CErIPdWk1sAXndQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cd1Gj3KKkz4nB; Thu, 02 Oct 2025 18:56:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 592IuD9O058412; Thu, 2 Oct 2025 18:56:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 592IuDsT058409; Thu, 2 Oct 2025 18:56:13 GMT (envelope-from git) Date: Thu, 2 Oct 2025 18:56:13 GMT Message-Id: <202510021856.592IuDsT058409@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 70e9133d5427 - stable/15 - umass.4: Add HISTORY, HARDWARE, and SPDX List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org 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: 70e9133d542769b9aa70ba9f54effc74a03dbbe2 Auto-Submitted: auto-generated The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=70e9133d542769b9aa70ba9f54effc74a03dbbe2 commit 70e9133d542769b9aa70ba9f54effc74a03dbbe2 Author: Alexander Ziaee AuthorDate: 2025-10-02 17:37:27 +0000 Commit: Alexander Ziaee CommitDate: 2025-10-02 18:55:51 +0000 umass.4: Add HISTORY, HARDWARE, and SPDX While here, break a long line that agitates the linter. Fixes: cc16f1b9d9261f18 (Add umass.c) MFC after: 1 hour Discussed with: imp, ivy diff --git a/sys/dev/usb/FILES b/sys/dev/usb/FILES --- share/man/man4/umass.4 | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/share/man/man4/umass.4 b/share/man/man4/umass.4 index 03e8b6ff6ef1..9164f02b7d1e 100644 --- a/share/man/man4/umass.4 +++ b/share/man/man4/umass.4 @@ -1,3 +1,6 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 1999 .\" Nick Hibma . All rights reserved. .\" @@ -22,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 27, 2020 +.Dd October 2, 2025 .Dt UMASS 4 .Os .Sh NAME @@ -71,6 +74,22 @@ requires and .Xr scbus 4 to be included in the kernel. +.Sh HARDWARE +The +.Nm +driver supports USB Mass Storage devices such as: +.Pp +.Bl -bullet -compact +.It +USB thumb drives +.It +USB hard disk drives +.It +USB floppy drives +.El +.Sh CACHE EFFECTS +Many direct access devices are equipped with read and/or write caches. +Parameters affecting the device's cache are stored in mode page 8, .Sh EXAMPLES .Bd -literal -offset indent device umass @@ -92,7 +111,8 @@ camcontrol rescan 0:0:3 Rescan all slots on a multi-slot flash reader, where the slots map to separate LUNs on a single SCSI ID. Typically only the first slot will be enabled at boot time. -This assumes that the flash reader is the first SCSI bus in the system and has 4 slots. +This assumes that +the flash reader is the first SCSI bus in the system and has 4 slots. .Sh SEE ALSO .Xr cfumass 4 , .Xr ehci 4 , @@ -101,7 +121,11 @@ This assumes that the flash reader is the first SCSI bus in the system and has 4 .Xr usb 4 , .Xr xhci 4 , .Xr camcontrol 8 -.\".Sh HISTORY +.Sh HISTORY +The +.Nm +driver appeared in +.Fx 4.3 . .Sh AUTHORS .An -nosplit The