]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r272349, r272422 and r272479:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 06:01:46 +0000 (06:01 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 06:01:46 +0000 (06:01 +0000)
commit53fb09d3c127c3f76467bf9433d052f794ff139a
tree7b54efe8b9281e045218148e2adf493d9ed6ec25
parent06521a245f93df25cdf0827cbae15db3d8692251
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.

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