git: c2909b0c9a29 - main - cam(4): Fix device hints documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Sep 2023 15:16:31 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c2909b0c9a29cd6fa0019ed9998dde9e054bdad2 commit c2909b0c9a29cd6fa0019ed9998dde9e054bdad2 Author: Tom Hukins <tom@FreeBSD.org> AuthorDate: 2023-09-17 15:12:22 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-09-17 15:13:49 +0000 cam(4): Fix device hints documentation The code in sys/cam/cam_periph.c that calls resource_int_value(9) looks for "lun" not "unit". PR: 212155 Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/843 --- share/man/man4/scsi.4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/man/man4/scsi.4 b/share/man/man4/scsi.4 index 3ea4b333543e..38bc5e14a031 100644 --- a/share/man/man4/scsi.4 +++ b/share/man/man4/scsi.4 @@ -22,7 +22,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd November 3, 2021 +.Dd September 15, 2023 .Dt CAM 4 .Os .Sh NAME @@ -213,7 +213,7 @@ Peripheral drivers can be wired to a specific bus, target, and lun as so: .Bd -literal -offset indent hint.da.0.at="scbus0" hint.da.0.target="0" -hint.da.0.unit="0" +hint.da.0.lun="0" .Ed .Pp This assigns @@ -234,10 +234,10 @@ hint.nvme.4.at="pci7:0:0" hint.scbus.10.at="nvme4" hint.nda.10.at="scbus10" hint.nda.10.target="1" -hint.nda.10.unit="12" +hint.nda.10.lun="12" hint.nda.11.at="scbus10" hint.nda.11.target="1" -hint.nda.11.unit="2" +hint.nda.11.lun="2" .Ed .Pp This assigns the NVMe card living at PCI bus 7 slot 0 function 1 to scbus 10.