Date: Mon, 26 Jan 2009 13:10:39 -0800 From: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> To: "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org> Subject: Re: ng_ubt2 patch committed Message-ID: <bb4a86c70901261310g50fe5cf8y81a2ae96944500bc@mail.gmail.com> In-Reply-To: <bb4a86c70901201422h75266d62s2698e158324264f0@mail.gmail.com> References: <bb4a86c70901201422h75266d62s2698e158324264f0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
dear frebsd-bluetooth@ users with HPS blessing another updated/cleaned up version of the ng_ubt2 driver for usb2 was committed to -head. this version should properly handle stalled usb transfers (i.e. the system should not panic anymore). also the code is now (hopefully) easier to read/understand/maintain. please give it a try and let me know if there are any problems. i'm also interested to hear about your experiences with ng_ubt2 and how it stacks up to usb1 ng_ubt. i also would like to thank HPS for his patience while working with me on this. thanks, max ==== Author: emax Date: Mon Jan 26 20:59:41 2009 New Revision: 187741 URL: http://svn.freebsd.org/changeset/base/187741 Log: Clean up ng_ubt2. Get rid of excessive use of NG_NODE_REF/UNREF(). Make detach() completely synchronous. Properly handle stalled USB transfers (use internal mechanism instead of submitting own control transfers). Rename/remove a couple of variables and update comments. This work was done in close collaboration with HPS. Reviewed by: HPS Modified: head/sys/dev/usb2/bluetooth/ng_ubt2.c head/sys/dev/usb2/bluetooth/ng_ubt2_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70901261310g50fe5cf8y81a2ae96944500bc>