]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r272349, r272422 and r272479:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 06:00:06 +0000 (06:00 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 06:00:06 +0000 (06:00 +0000)
commitabf9d26a5ed55b7153c79e0c1b5aa8fbbced1ce5
tree213e5f1ff170158ed2c3c7b15a32df32de7532d7
parentd473ca310fb49ab721a415af50950fd2f33c35ee
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/8@272587 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/controller/xhci.c
sys/dev/usb/controller/xhci.h