From owner-cvs-src-old@FreeBSD.ORG Tue Oct 20 21:30:08 2009 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 65F04106566B for ; Tue, 20 Oct 2009 21:30:08 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 546C38FC17 for ; Tue, 20 Oct 2009 21:30:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9KLU8iD016395 for ; Tue, 20 Oct 2009 21:30:08 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9KLU8T5016394 for cvs-src-old@freebsd.org; Tue, 20 Oct 2009 21:30:08 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200910202130.n9KLU8T5016394@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Tue, 20 Oct 2009 21:29:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb/storage umass.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, 20 Oct 2009 21:30:08 -0000 thompsa 2009-10-20 21:29:46 UTC FreeBSD src repository Modified files: sys/dev/usb/storage umass.c Log: SVN rev 198307 on 2009-10-20 21:29:46Z by thompsa Change from CAM_TID_INVALID to CAM_SEL_TIMEOUT error code when the usb device has been yanked, this works around a cam recounting bug when CAM_DEV_UNCONFIGURED is set late in the detach. In certain conditions the reference to the XPT device would not be released which would cause the usb explore thread to sleep forever on "simfree", preventing any new usb devices to be found/ejected on the bus. This is intended to be a quick workaround to the problem without touching CAM so it can be merged to 8.0. Suggested by: mav MFC after: 3 days Revision Changes Path 1.25 +3 -2 src/sys/dev/usb/storage/umass.c