CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2020/01/21 19:25:11

Modified files:
        sys/dev/usb    : xhci.c 

Log message:
Add a zero length TD, rather than adding a zero length TRB to the
original TD, when a transfer is a multiple of the max packet size. The
zero length TD will have a NULL xfer pointer.

As a result "NULL xfer pointer" situations become perfectly normal. So
change the log_warnx() that issues that verbiage to a log_debug().

Note that the original transfer will complete and report its result up
the USB stack before the zero length transfer is executed.

Fixes (at least) urtwn(4) interfaces.

Feeback, cluebats, fixes and ok patrick@

Reply via email to