Date: Mon, 27 Oct 2008 21:46:58 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libcam camlib.c Message-ID: <200810272147.m9RLl5K3080059@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2008-10-27 21:46:58 UTC
FreeBSD src repository
Modified files:
lib/libcam camlib.c
Log:
SVN rev 184379 on 2008-10-27 21:46:58Z by marius
Supply a valid Connect ID when issuing XPT_DEV_MATCH, which
according to my reading of the CAM draft is mandatory for
all CCB function calls and enforced by xptioctl() since at
least r168752. Previously we happened to use 0 as the Path
ID, causing the XPT_DEV_MATCH call to fail if there's no
SCSI bus 0. Basically the same bug was also fixed the same
way for camcontrol(8) as part of r126514.
PR: 127605
Submitted by: Eygene Ryabinkin
Approved by: silence from ken and scottl
MFC after: 1 week
Revision Changes Path
1.17 +3 -0 src/lib/libcam/camlib.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810272147.m9RLl5K3080059>
