From owner-cvs-all@FreeBSD.ORG Fri Feb 23 05:47:39 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FC9016A407; Fri, 23 Feb 2007 05:47:39 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 098A313C4B3; Fri, 23 Feb 2007 05:47:39 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1N5lbMJ022147; Fri, 23 Feb 2007 05:47:37 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1N5lbaT022140; Fri, 23 Feb 2007 05:47:37 GMT (envelope-from mjacob) Message-Id: <200702230547.l1N5lbaT022140@repoman.freebsd.org> From: Matt Jacob Date: Fri, 23 Feb 2007 05:47:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/cam cam_xpt.c cam_xpt.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 05:47:39 -0000 mjacob 2007-02-23 05:47:37 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c cam_xpt.h Log: Add an xpt_rescan function and a thread that will field rescan requests. The purpose of this is to allow a SIM (or other entities) to request a bus rescan and have it then fielded in a different (process) context from the caller. There are probably better ways to accomplish this, but it's a very small change that helps solve a number of problems. Reviewed by: Justin, Ken and Scott. MFC after: 2 weeks Revision Changes Path 1.174 +49 -4 src/sys/cam/cam_xpt.c 1.7 +1 -0 src/sys/cam/cam_xpt.h