]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFS r353177:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 15:29:37 +0000 (15:29 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 15:29:37 +0000 (15:29 +0000)
commit8835f2723346555b68ac54b088222932d2c331cc
tree904309dd632a32df2c308641c35ae2e536c39bc0
parent285b572382bccb27a07ae0b6fa63abb420d7413f
MFS r353177:
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
Approved by: re (gjb)
sys/dev/usb/controller/xhci.c
sys/dev/usb/usb_bus.h
sys/dev/usb/usb_transfer.c