From nobody Sat Sep 05 13:49:55 2026 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 4hcZTP0GKvz6qYSH for ; Sat, 05 Sep 2026 13:50:01 +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 4hcZTN5wRCz3lF1 for ; Sat, 05 Sep 2026 13:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788616200; 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=eHi+mGPUdRnC+v46M2sEwbbyGZ0XDrbWe6kC4q811PE=; b=HO0/MuSTUxQeGMh61GI5/1pna8pxK7XR7lGJ748mNs4heHp7ujHFDMd9mBBPNjlyUBy1Rb TffhZfv12lS7p0Iord8jxgO64fT0GEO52cdqUoftIrbcbh2doi7Il9J+mPqoqJ4NSgiyU6 K7mCKtRJW4ysvgTLL3vF0P7+3M19At1wKWgoAk2CftmSuAZu46wy35ZTKP+It1J8xfl9R1 say/mX16toIChlRTQiF/DbBGdUCw1c+YKjV7YAQlpeQVFZTdxJEa1akBjQ5YQ8B8hCDjPn h2CGXxfAhbFeWFEfAJBcgBq0EOiYydI6lqFUsa+qCUjk1HyPHt5lqk+dBQF8Bw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788616200; a=rsa-sha256; cv=none; b=ogaxqfAgr8dg+eGnd68uCCnput/AQMMKZZ2mKdRuBqLUr/bxwx2Sg6RGM130VD7Toxfp3M nUfLtCOKp8KBhMQcc98GF4sAnmN9xm5YfkxOL7hrQAI58o0R4wIV7GAQ/z7U9eG8c914bq VwB7od0vYq4GGwlkkOFxdtcN5kk9vUS4rAaw0RnZylzF6EZxgNSOWnTKsA8q6BtWcuEjA8 ODPMrPdxdzsXidlGC5cv0Xmh5pKx7/wDuRyPiuvyEwu+SKL1I7QaInleGuwNom1VggJBsw mNZVqCzLceAKxcjjjDVXd91g3gO4R7HIzZWE9QW17ApIx68vqbnoX6a8TOaUgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788616200; 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=eHi+mGPUdRnC+v46M2sEwbbyGZ0XDrbWe6kC4q811PE=; b=OfJSqCf1Bj0mjeVrMtoC2AZ0jZ1gfWUvUFWv3j0qT45R8YtQLRITMzrvjRVUyUR5dONBaG TiBTDvExIYJ7cR8LwRiGIa+otghtxwiob3DcAfqsbhVBKXU6LIHA0IM2/Uj8yryMX+iefc 7mUwvBM0ZjV06y0ErFiiYT4I/SzF7HVPILen54oBVScfTUyFdaKCGU6P9L5Nd+ZQagY7pk Z2xIdUdlqB8KJ+bvZOWYo3b1g+wgbBLchj80U6V6QQe24+NOe+E4rBkPaZpEORh1+4ikny maiW8cteNKysDNZgr8IbFT3la+x5bYYh/Vkcok953V5Pc0r9YWg8M5pDp99AEQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hcZTN4gHJznPV for ; Sat, 05 Sep 2026 13:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 33a16 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 05 Sep 2026 13:49:55 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: ef3239cd4a3f - main - tws.4: Canonicalize SYNOPSIS + nits 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 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/main X-Git-Reftype: branch X-Git-Commit: ef3239cd4a3f591434daa72747c49adc1263eb04 Auto-Submitted: auto-generated Date: Sat, 05 Sep 2026 13:49:55 +0000 Message-Id: <6a9c1e03.33a16.374d9de2@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=ef3239cd4a3f591434daa72747c49adc1263eb04 commit ef3239cd4a3f591434daa72747c49adc1263eb04 Author: Alexander Ziaee AuthorDate: 2026-09-04 14:42:37 +0000 Commit: Alexander Ziaee CommitDate: 2026-09-05 13:47:44 +0000 tws.4: Canonicalize SYNOPSIS + nits + wrap some long lines + escape some ? wildcards + no macros in width specifiers + mention the speed in HARDWARE (bumps date) + use the hyperlink macro for... the defunct LSI website... + write out a symbol heavy error message format string in mdoc MFC after: 3 days Event: Berlin Hackathon 202609 --- share/man/man4/tws.4 | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/share/man/man4/tws.4 b/share/man/man4/tws.4 index 35ac30910cd1..d3516168a501 100644 --- a/share/man/man4/tws.4 +++ b/share/man/man4/tws.4 @@ -1,4 +1,6 @@ .\" +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\"Copyright (c) 2010, 2011 iXsystems, Inc. .\"All rights reserved. .\" written by: Xin LI @@ -24,38 +26,35 @@ .\"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\"SUCH DAMAGE. .\" -.Dd October 4, 2011 +.Dd September 4, 2026 .Dt TWS 4 .Os .Sh NAME .Nm tws .Nd 3ware 9750 SATA+SAS 6Gb/s RAID controller card 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 scbus" -.Cd "device tws" -.Ed +.Cd device scbus +.Cd device tws .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 -tws_load="YES" -.Ed +.Cd hw.tws.cam_depth +.Cd hw.tws.enable_msi +.Cd hw.tws.queue_depth +.Cd hw.tws.use_32bit_sgls +.Cd tws_load="YES" .Sh DESCRIPTION The .Nm -driver provides support for LSI's 3ware 9750 SATA+SAS 6Gb/s RAID controller cards. +driver provides support for LSI's 3ware 9750 SATA+SAS 6Gb/s RAID controllers. .Pp These controllers feature the LSISAS2108 6Gb/s SAS RAID-on-Chip (ROC) and are available in 4- and 8-port configurations, supports RAID levels -0, 1, 5, 6, 10, 50 and single disk, with 96 SATA and/or SAS hard drives and SSDs. +0, 1, 5, 6, 10, 50 and single disk, +with 96 SATA and/or SAS hard drives and SSDs. .Pp For further hardware information, see -.Pa http://www.lsi.com/. +.Lk http://www.lsi.com/ . .Sh HARDWARE The .Nm @@ -64,6 +63,7 @@ driver supports the following SATA/SAS RAID controller: .Bl -bullet -compact .It LSI's 3ware SAS 9750 series +.Pq 6Gb/s SATA+SAS .El .Sh LOADER TUNABLES Tunables can be set at the @@ -75,7 +75,7 @@ prompt before booting the kernel or stored in The maximum queued CAM SIM requests for one controller. The default value is 256. .It Va hw.tws.enable_msi -This tunable enables MSI support on the controller if set to a non-zero value. +Enable MSI support on the controller if set to a non-zero value. The default value is 0. .It Va hw.tws.queue_depth The maximum queued requests for one controller. @@ -85,16 +85,16 @@ system is running in 64-bit mode. The default value is 0. .El .Sh FILES -.Bl -tag -width ".Pa /dev/tws?" -compact -.It Pa /dev/da? +.Bl -tag -width "/dev/tws?" -compact +.It Pa /dev/da?\& array/logical disk interface -.It Pa /dev/tws? +.It Pa /dev/tws?\& management interface .El .Sh DIAGNOSTICS -Whenever the driver encounters a command failure, it prints out an error code in -the format: -.Qq Li "ERROR: (: ):" , +Whenever the driver encounters a command failure, +it prints out an error code in the format: +.Do Li ERROR\&: Po Ao error source Ac : Ao error code Ac Pc : Dc , followed by a text description of the error. There are other error messages and warnings that the driver prints out, depending on the kinds of errors that it encounters.