Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 20:33:22 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org
Subject:   svn commit: r185530 - stable/6/lib/libcam
Message-ID:  <200812012033.mB1KXMul036481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Mon Dec  1 20:33:22 2008
New Revision: 185530
URL: http://svn.freebsd.org/changeset/base/185530

Log:
  MFC: r184379
  
  Supply a valid Connect ID when issuing XPT_DEV_MATCH.
  
  PR:		127605

Modified:
  stable/6/lib/libcam/   (props changed)
  stable/6/lib/libcam/camlib.c

Modified: stable/6/lib/libcam/camlib.c
==============================================================================
--- stable/6/lib/libcam/camlib.c	Mon Dec  1 20:16:56 2008	(r185529)
+++ stable/6/lib/libcam/camlib.c	Mon Dec  1 20:33:22 2008	(r185530)
@@ -346,6 +346,9 @@ cam_open_btl(path_id_t path_id, target_i
 
 	bzero(&ccb, sizeof(union ccb));
 	ccb.ccb_h.func_code = XPT_DEV_MATCH;
+	ccb.ccb_h.path_id = CAM_XPT_PATH_ID;
+	ccb.ccb_h.target_id = CAM_TARGET_WILDCARD;
+	ccb.ccb_h.target_lun = CAM_LUN_WILDCARD;
 
 	/* Setup the result buffer */
 	bufsize = sizeof(struct dev_match_result);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812012033.mB1KXMul036481>