<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/controller/usb_controller.c, 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>2015-02-05T21:37:59Z</updated>
<entry>
<title>MFC r277136:</title>
<updated>2015-02-05T21:37:59Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-02-05T21:37:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0337aa81440df7921ff13919f72774652d75b65e'/>
<id>urn:sha1:0337aa81440df7921ff13919f72774652d75b65e</id>
<content type='text'>
Resolve a special case deadlock: When two or more threads are
simultaneously detaching kernel drivers on the same USB device we can
get stuck in the "usb_wait_pending_ref_locked()" function because the
conditions needed for allowing detach are not met.

While at it ensure that "flag_iserror" is only written when "priv_mtx"
is locked, which is protecting it.
</content>
</entry>
<entry>
<title>MFC r266969 and r276717:</title>
<updated>2015-02-05T20:15:42Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-02-05T20:15:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d256fef9e0e95102094b7f6d2a1dac3ec978cfb9'/>
<id>urn:sha1:d256fef9e0e95102094b7f6d2a1dac3ec978cfb9</id>
<content type='text'>
Add 64-bit DMA support in the XHCI controller driver.
- Fix some comments and whitespaces while at it.
- Add support for PAE.
</content>
</entry>
<entry>
<title>MFC r269565:</title>
<updated>2014-08-13T08:24:48Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-08-13T08:24:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=43b4eb6dfc83cc4d19c9626da0ac61eb886deb54'/>
<id>urn:sha1:43b4eb6dfc83cc4d19c9626da0ac61eb886deb54</id>
<content type='text'>
Rename driver name a bit to avoid unit number confusion in dmesg.
</content>
</entry>
<entry>
<title>MFC: r267321</title>
<updated>2014-06-23T08:28:14Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2014-06-23T08:28:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87f851a701fa02ad2c692b14677e0fcfd7c3af68'/>
<id>urn:sha1:87f851a701fa02ad2c692b14677e0fcfd7c3af68</id>
<content type='text'>
Avoid the USB device disconnected and controller shutdown clutter on system
shutdown by putting the former under !rebooting and turning the latter into
debug messages.

Reviewed by:	hps
Sponsored by:	Bally Wulff Games &amp; Entertainment GmbH
</content>
</entry>
<entry>
<title>MFC r267240:</title>
<updated>2014-06-11T06:45:52Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-06-11T06:45:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c7281741a6aeef5d1ce41adf3226182c59cd3c99'/>
<id>urn:sha1:c7281741a6aeef5d1ce41adf3226182c59cd3c99</id>
<content type='text'>
Resolve a deadlock setting the USB configuration index from userspace
on USB HUBs by moving the code into the USB explore threads. The
deadlock happens because child devices of the USB HUB don't have the
expected reference count when called from outside the explore
thread. Only the HUB device itself, which the IOCTL interface locks,
gets the correct reference count.

Approved by: re, marius @
</content>
</entry>
<entry>
<title>MFC r259023 and r259095:</title>
<updated>2013-12-19T07:12:40Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-12-19T07:12:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c42f446f2001267ca18bb7f39236fde8340d5eb8'/>
<id>urn:sha1:c42f446f2001267ca18bb7f39236fde8340d5eb8</id>
<content type='text'>
Improve the XHCI command timeout recovery handling code.
Fix some typos while at it.
</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>MFC: r227309 (partial)</title>
<updated>2013-03-09T02:36:32Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2013-03-09T02:36:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7b1b32ed4582e7bcdd416c4718d0d79ebaea192d'/>
<id>urn:sha1:7b1b32ed4582e7bcdd416c4718d0d79ebaea192d</id>
<content type='text'>
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.

The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
</content>
</entry>
<entry>
<title>MFC r246616 and r246759:</title>
<updated>2013-02-21T07:48:07Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2013-02-21T07:48:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b98c206999a3a320d294c6d2d48072902224251'/>
<id>urn:sha1:4b98c206999a3a320d294c6d2d48072902224251</id>
<content type='text'>
- Move scratch data from the USB bus structure to the USB device
structure so that simultaneous access cannot happen. Protect scratch
area using the enumeration lock.
- Reduce stack usage in usbd_transfer_setup() by moving some big stack
members to the scratch area. This saves around 200 bytes of stack.
- Fix a whitespace.
- Protect control requests using the USB device enumeration lock.
- Make sure all callers of usbd_enum_lock() check the return value.
- Remove the control transfer specific lock.
- Bump the FreeBSD version number, hence external USB modules may need
to be recompiled due to a USB device structure change.
</content>
</entry>
<entry>
<title>MFC r240750, r241987 and r242126:</title>
<updated>2012-11-08T16:13:51Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2012-11-08T16:13:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=36dba61a3a6200609139a96b872a6f707d74561e'/>
<id>urn:sha1:36dba61a3a6200609139a96b872a6f707d74561e</id>
<content type='text'>
Add missing CTLFLAG_TUN flag to tunable sysctls in the USB stack.
Adjust timing parameters of FULL/LOW/HIGH speed USB enumeration
and make these timing parameters tunable. This patch will fix
enumeration with some USB devices.
Fix a typo.
</content>
</entry>
</feed>
