<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/usb_process.h, branch stable/9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-03-27T07:03:50Z</updated>
<entry>
<title>MFC r263423:</title>
<updated>2014-03-27T07:03:50Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-03-27T07:03:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f70fa1f8c79c73c7fea98c83cbbab08c704c57c'/>
<id>urn:sha1:4f70fa1f8c79c73c7fea98c83cbbab08c704c57c</id>
<content type='text'>
Try to resolve a possible deadlock when detaching USB devices which
create character devices. The deadlock can happen if an application is
issuing IOCTLs which require USB refcounting, at the same time the USB
device is detaching.

There is already a counter in place in the USB device structure to
detect this situation, but it was not always checked ahead of invoking
functions that might destroy character devices, like detach, set
configuration, set alternate interface or detach active kernel driver.
</content>
</entry>
<entry>
<title>MFC r249795:</title>
<updated>2013-05-12T12:13:23Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-05-12T12:13:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=08769840614ba1a688b59ac5579bc9c5eb9c4d3e'/>
<id>urn:sha1:08769840614ba1a688b59ac5579bc9c5eb9c4d3e</id>
<content type='text'>
Add convenience wrapper functions to run callbacks in the context of the
USB explore thread.
</content>
</entry>
<entry>
<title>Use software interrupt priorities for USB kthreads instead of hardware</title>
<updated>2011-01-13T14:15:36Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2011-01-13T14:15:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a9736a8782cecd9124b72f7f889b04a73e5b1b9'/>
<id>urn:sha1:6a9736a8782cecd9124b72f7f889b04a73e5b1b9</id>
<content type='text'>
interrupt priorities.

Reviewed by:	hps
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>         - Patch to allow USB controller to resume operation after</title>
<updated>2009-08-24T05:05:38Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2009-08-24T05:05:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb18f7d12b575ae66814e2c3ec40d67c042c1495'/>
<id>urn:sha1:cb18f7d12b575ae66814e2c3ec40d67c042c1495</id>
<content type='text'>
         being polled.

         - Remove the need for Giant from the USB HUB driver.

         - Leave device unconfigured instead of disabling the USB port
           when Huawei Autoinstall disk detection triggers. This should
           fix problems that the Huawei device is not detected after
           Autoinstall eject is issued.
         - Reported by: Nikolay Antsiferov

         - Fix memory use after free race for USB character devices.
         - Reported by: Lucius Windschuh

         - Factor out the enumeration lock into three functions to make the
         coming newbus lock conversion more easy.
          - usbd_enum_lock
          - usbd_enum_unlock
          - usbd_enum_is_locked

Submitted by:	hps
</content>
</entry>
<entry>
<title>Change the usb workers from kernel processes to threads, this is mostly a</title>
<updated>2009-08-16T14:13:55Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-08-16T14:13:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=532b195250330c00fd8ac4a076b492b70ef01f98'/>
<id>urn:sha1:532b195250330c00fd8ac4a076b492b70ef01f98</id>
<content type='text'>
cosmetic change to reduce cruft in the proc table.

Also change the idle wait message to `-` like how taskqueues are.

Reviewed by:	julian
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>- Make struct usb_xfer opaque so that drivers can not access the internals</title>
<updated>2009-06-23T02:19:59Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-06-23T02:19:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8'/>
<id>urn:sha1:ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8</id>
<content type='text'>
- Reduce the number of headers needed for a usb driver, the common case is just   usb.h and usbdi.h
</content>
</entry>
<entry>
<title>Fix _USB2_* refernces in the header protection defines.</title>
<updated>2009-06-15T01:09:19Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-06-15T01:09:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=759736470cac5ee5c7e86400bff165c7af6b400b'/>
<id>urn:sha1:759736470cac5ee5c7e86400bff165c7af6b400b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>s/usb2_/usb_|usbd_/ on all function names for the USB stack.</title>
<updated>2009-06-15T01:02:43Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-06-15T01:02:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a593f6b8de8b956bd0dd22f74805ede942e3d6a9'/>
<id>urn:sha1:a593f6b8de8b956bd0dd22f74805ede942e3d6a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert the size_t part of the last commit for the moment, this blows up the</title>
<updated>2009-05-30T00:22:57Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-05-30T00:22:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f9cb546c233aa780517ea85bec2cc8630097535a'/>
<id>urn:sha1:f9cb546c233aa780517ea85bec2cc8630097535a</id>
<content type='text'>
USB_ADD_BYTES macro.
</content>
</entry>
<entry>
<title>s/usb2_/usb_/ on all typedefs for the USB stack.</title>
<updated>2009-05-29T18:46:57Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-05-29T18:46:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0a69b51ac09dc0376611274903ba683e2d1ace7'/>
<id>urn:sha1:e0a69b51ac09dc0376611274903ba683e2d1ace7</id>
<content type='text'>
</content>
</entry>
</feed>
