FreeBSD Bugzilla – Attachment 241192 Details for
Bug 212155
Incorrect documentation in cam(4) for wired scsi device hints.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch fixes the described problem
0001-CAM-4-Fix-device-hints-documentation.patch (text/plain), 1.24 KB, created by
Tom Hukins
on 2023-03-29 20:42:28 UTC
(
hide
)
Description:
This patch fixes the described problem
Filename:
MIME Type:
Creator:
Tom Hukins
Created:
2023-03-29 20:42:28 UTC
Size:
1.24 KB
patch
obsolete
>From a8d2df454c96a5773d8500622bea6fcbb852daaf Mon Sep 17 00:00:00 2001 >From: Tom Hukins <tom@FreeBSD.org> >Date: Wed, 29 Mar 2023 21:33:16 +0100 >Subject: [PATCH 1/2] 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 >--- > 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 79e7ab322611..59342cf1a0da 100644 >--- a/share/man/man4/scsi.4 >+++ b/share/man/man4/scsi.4 >@@ -24,7 +24,7 @@ > .\" SUCH DAMAGE. > .\" > .\" $FreeBSD$ >-.Dd November 3, 2021 >+.Dd March 29, 2023 > .Dt CAM 4 > .Os > .Sh NAME >@@ -215,7 +215,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 >@@ -236,10 +236,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. >-- >2.40.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212155
: 241192 |
241193
|
241252