From owner-cvs-src-old@FreeBSD.ORG Tue Nov 4 22:52:14 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A572E1065672 for ; Tue, 4 Nov 2008 22:52:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9430C8FC16 for ; Tue, 4 Nov 2008 22:52:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mA4MqEGD077561 for ; Tue, 4 Nov 2008 22:52:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mA4MqEmh077560 for cvs-src-old@freebsd.org; Tue, 4 Nov 2008 22:52:14 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200811042252.mA4MqEmh077560@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Tue, 4 Nov 2008 22:51:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/lib/libcam camlib.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 22:52:14 -0000 marius 2008-11-04 22:51:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libcam camlib.c Log: SVN rev 184662 on 2008-11-04 22:51:56Z by marius MFC: r184379 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 Approved by: re (kib) Revision Changes Path 1.16.2.1 +3 -0 src/lib/libcam/camlib.c