]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/commit
MFC r272349, r272422 and r272479:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 11:05:56 +0000 (11:05 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 11:05:56 +0000 (11:05 +0000)
commit39c0a82978ae6e87059942244e66747f799881fb
treed82edfca1ce9118999fd2f6a8610793ddcadeb23
parentc8d9d88a85bdbf2677976281a48ccb276e6a2040
MFC r272349, r272422 and r272479:
- Fix XHCI driver for devices which have more than 15 physical root HUB
  ports. The current bitmap array was too small to hold more than 16
  bits and would at some point toggle the context size, which then would
  trigger an enumeration fault and cause a fallback to the EHCI
  companion controller, if any.
- Make sure we always set the maximum number of valid contexts.
- Set default cycle state in case of early interrupts.

Approved by: re, marius

git-svn-id: svn://svn.freebsd.org/base/releng/10.1@272608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/controller/xhci.c
sys/dev/usb/controller/xhci.h