From owner-cvs-src-old@FreeBSD.ORG Thu Dec 31 00:17:54 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 BEC7B10656A3 for ; Thu, 31 Dec 2009 00:17:54 +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 5FEF78FC1E for ; Thu, 31 Dec 2009 00:17:54 +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 nBV0HsDX063387 for ; Thu, 31 Dec 2009 00:17:54 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBV0HsPt063386 for cvs-src-old@freebsd.org; Thu, 31 Dec 2009 00:17:54 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200912310017.nBV0HsPt063386@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Thu, 31 Dec 2009 00:10:26 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/usb usb_device.c usb_dynamic.c usb_dynamic.h usbdi.h src/sys/dev/usb/serial u3g.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: Thu, 31 Dec 2009 00:17:54 -0000 thompsa 2009-12-31 00:10:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/usb usb_device.c usb_dynamic.c usb_dynamic.h usbdi.h sys/dev/usb/serial u3g.c Log: SVN rev 201305 on 2009-12-31 00:10:26Z by thompsa MFC r200653 Use the EVENTHANDLER system to hook into the usb device configuration and perform a function such as ejecting a 3G autoinstaller disk. The eventhandler system properly tracks threads and is safe to unload, remove the setting/clearing of a function pointer in the kernel by u3g(4) which included a tsleep for safety. Revision Changes Path 1.19.2.5 +25 -29 src/sys/dev/usb/serial/u3g.c 1.44.2.9 +75 -76 src/sys/dev/usb/usb_device.c 1.7.2.2 +0 -23 src/sys/dev/usb/usb_dynamic.c 1.7.2.2 +0 -4 src/sys/dev/usb/usb_dynamic.h 1.71.2.4 +12 -0 src/sys/dev/usb/usbdi.h