]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r272349, r272422 and r272479:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 05:58:16 +0000 (05:58 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 05:58:16 +0000 (05:58 +0000)
commit1bfafea62c8a5fd025df0b4f639df9e1fc0dd7ba
treed3447bb1071bca3c93020c18cec638fac6c7db27
parent1227e67a1e487488a20c9b2d070afb2c69c483a3
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/9@272586 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/controller/xhci.c
sys/dev/usb/controller/xhci.h