CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2019/03/01 12:15:59

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

Log message:
Since ring->index points to the next free slot, once we reach index zero
we know that the last non-link TRB has been written and we can look at
the flags to set the chain bit in the link TRB.  Since we will now toggle
the cycle bit on the first TRB of a ring, set it on the ring reset.

Tested by jcs@, jsg@ and visa@
"commit it" jcs@

Reply via email to