]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r352556:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Oct 2019 08:25:25 +0000 (08:25 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Oct 2019 08:25:25 +0000 (08:25 +0000)
commite5be24d7f40ff21e6e4bdaccef8e1e1c25bb581c
treee500734bb7a5df12bf0e0c9a417f3b7f0fbdc38e
parentdb8f7a53534ef7bb494d8ccca5541bd7cc9501ce
MFC r352556:
Add quirk for XHCI(4) controllers to support USB control transfers
above 1Kbyte.  It might look like some XHCI(4) controllers do not
support when the USB control transfer is split using a link TRB. The
next NORMAL TRB after the link TRB is simply failing with XHCI error
code 4. The quirk ensures we allocate a 64Kbyte buffer so that the
data stage TRB is not broken with a link TRB.

Found at: EuroBSDcon 2019
Sponsored by: Mellanox Technologies

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