From nobody Tue Dec 12 05:14:21 2023 X-Original-To: dev-commits-src-main@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 4Sq6H20RxDz53PbV; Tue, 12 Dec 2023 05:14:22 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sq6H157WVz4L9S; Tue, 12 Dec 2023 05:14:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702358061; 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=guBrzWoxkG8vUHANeWFmmL9B/DWbzo5rwQvxVKjJ4Z0=; b=XGKZBQK6+Wh9Lq9gw97ohkgU2c/qmzTDGPXBzKwJze1wx9knCwqZGjDqLWYik4ljq7WPmn 8j3XYiixj2STJ4o6+lhTxsrtjfTwkL04M95gckRr8bdPPjfV1xuEWJ80B0h23z0LvggN/7 shaleb3/59z5A5bnPrkPexWYmGkpn0HpK/pEdoPciSnxVhVVNcq1eRfWvW9rNHwdwQ5Xws Ph+uBwsuWqKso6lqqDKcutUi/nKx3vRGAK1grZOmqbDeGrb8x+UynwRgliertTQ9XaSuVA xsphdr1GIExYrlJuyqq4I2Xtku5ieXaLz0TTY269vcj0jkLQUcwuWHRt4pi6tg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702358061; a=rsa-sha256; cv=none; b=XM7sWdI/mBy+e88K+2PjbGMLoBpQBWt+F9c7lp6fGbu+Qfvj9ikGK+XUU9kkQNVGyAzZ4h PcU+JtbaSvRxXyhHRZkjbPZS9/QbGf2oGn2LeC4E5R8cs0JL6P5j7YSDVroa0bNDvqkZVH 1HIzyPPuzRWB4QLgZ+5DNrZ5c51qCbiRh54iQ5gjOQTPMW5EqvjJKHYcBjgWyrpctiOmNC 1MvNE9gWwHLCWM+B0aP3mAQE+KJG9/8i8nUzxOlsWsnaQlNLfYf/91tl1vdNkiU1i5brGe gljYOY1vLRgWFHM+RkpyEajRLrTSARA2BEpoo5VttNziJof4PriuNu6IhgHZbw== 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=1702358061; 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=guBrzWoxkG8vUHANeWFmmL9B/DWbzo5rwQvxVKjJ4Z0=; b=H9TB38l3pGl1m6WDuFzooXgVva6BC7yfacHA/py3BfctQnIozZZC5MPNIp84a+oePVZ4CV 7ywvnfcRLQ+lyOSitkYT3Hp4QPc50bNFcWTo2vzYIbxCFqe2zmJo0QqUsHbSGQPHd8a49+ /qPha6vkRx2SCH85TAa/8zp6NPRP9uUc2/SexuAAjBdvvGfV0//tsJqeS9UTZNFW0vDp9c VMgma9oxKEkF+ChVDH+0e8a0t00ver8XnNfCctJE1sLk8xT1aHXmw5dkd1UG2kgOK/GPn/ MZiO/9JZRfTi8Ky/UklAvmH8GrhJ6eLdZJ0gg5Shb/aBMaTIw4BG00Amn3x05A== 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 4Sq6H141d6z11cp; Tue, 12 Dec 2023 05:14:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BC5ELNW079341; Tue, 12 Dec 2023 05:14:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BC5ELAx079337; Tue, 12 Dec 2023 05:14:21 GMT (envelope-from git) Date: Tue, 12 Dec 2023 05:14:21 GMT Message-Id: <202312120514.3BC5ELAx079337@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 3fbed93203cb - main - cam.4: Modernize examples List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3fbed93203cb6347c02cd8e4f1e21fa93f42c44d Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3fbed93203cb6347c02cd8e4f1e21fa93f42c44d commit 3fbed93203cb6347c02cd8e4f1e21fa93f42c44d Author: Warner Losh AuthorDate: 2023-12-12 05:08:55 +0000 Commit: Warner Losh CommitDate: 2023-12-12 05:12:13 +0000 cam.4: Modernize examples Use mpr1 instead of ahd1 and ahci1 instead of ahc1. ahc and ahd haven't been relevant for a while. Also update the transfer size HBAs can do from from 64k to 1MB. Sponsored by: Netflix --- share/man/man4/scsi.4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/share/man/man4/scsi.4 b/share/man/man4/scsi.4 index 0e349ba60f0d..380768c2d7c1 100644 --- a/share/man/man4/scsi.4 +++ b/share/man/man4/scsi.4 @@ -190,25 +190,25 @@ Individual bus numbers can be wired down to specific controllers with a config line similar to the following: .Bd -literal -offset indent -hint.scbus.0.at="ahd1" +hint.scbus.0.at="mpr1" .Ed .Pp This assigns .Nm bus number 0 to the -.Em ahd1 +.Em mpr1 driver instance. For controllers supporting more than one bus, a particular bus can be assigned as follows: .Bd -literal -offset indent -hint.scbus.0.at="ahc1" +hint.scbus.0.at="ahci1" hint.scbus.0.bus="1" .Ed .Pp This assigns .Nm bus 0 to the bus 1 instance on -.Em ahc1 . +.Em ahci1 . Peripheral drivers can be wired to a specific bus, target, and lun as so: .Bd -literal -offset indent hint.da.0.at="scbus0" @@ -279,7 +279,7 @@ or bus and the system. The maximum size of a transfer is governed by the adapter. -Most adapters can transfer 64KB in a single operation, however +Most adapters can transfer 1MB in a single operation, however many can transfer larger amounts. .Sh TARGET MODE Some adapters support