Date: Thu, 17 Dec 2009 21:42:10 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <200912172142.nBHLgcae057061@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2009-12-17 21:42:10 UTC FreeBSD src repository Modified files: sys/dev/usb usb_device.c usb_dynamic.c usb_dynamic.h usbdi.h sys/dev/usb/serial u3g.c Log: SVN rev 200653 on 2009-12-17 21:42:10Z by thompsa 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.25 +25 -29 src/sys/dev/usb/serial/u3g.c 1.52 +75 -76 src/sys/dev/usb/usb_device.c 1.8 +0 -23 src/sys/dev/usb/usb_dynamic.c 1.8 +0 -4 src/sys/dev/usb/usb_dynamic.h 1.74 +12 -0 src/sys/dev/usb/usbdi.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912172142.nBHLgcae057061>