]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r295928:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Mar 2016 09:42:16 +0000 (09:42 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Mar 2016 09:42:16 +0000 (09:42 +0000)
commite58832f0dfe3c51b996eef78b27590d81cdd5620
tree6213453eced7bdfef28e5b9fa13825fddfc56739
parent5e41731969dd783a14210336ea48a18bbc68ada7
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.

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