diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-03-07 09:42:16 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-03-07 09:42:16 +0000 |
commit | cdf5f4b65c702077c7e763f57982676ece1aabcc (patch) | |
tree | 6213453eced7bdfef28e5b9fa13825fddfc56739 /sys/dev/usb/controller/xhci.h | |
parent | 282cd742b36ef641d973b8e1a709000764a0f831 (diff) | |
download | FreeBSD-src-cdf5f4b65c702077c7e763f57982676ece1aabcc.zip FreeBSD-src-cdf5f4b65c702077c7e763f57982676ece1aabcc.tar.gz |
MFC r295928:
Configure the correct bMaxPacketSize for control endpoints before
requesting the initial complete device descriptor and not as part of
the subsequent babble error recovery. Babble means that the received
USB packet was bigger than than configured maximum packet size. This
only affects enumeration of FULL speed USB devices which use a
bMaxPacketSize different from 8 bytes. This patch might help fix
enumeration of USB devices which exhibit USB I/O errors in dmesg
during boot.
Diffstat (limited to 'sys/dev/usb/controller/xhci.h')
-rw-r--r-- | sys/dev/usb/controller/xhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/xhci.h b/sys/dev/usb/controller/xhci.h index ac21c0f..af5b913 100644 --- a/sys/dev/usb/controller/xhci.h +++ b/sys/dev/usb/controller/xhci.h @@ -383,6 +383,7 @@ struct xhci_endpoint_ext { uint8_t trb_halted; uint8_t trb_running; uint8_t trb_ep_mode; + uint8_t trb_ep_maxp; }; enum { |