CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2014/08/08 08:34:12

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

Log message:
Make sure asynchronous commands do not race with synchronous ones.

Since asynchronous commands can be submitted from interrupt context
it was possible to race with a process waiting for the completion of
a previously submitted command.  So stop relying on the per-softc
TRB pointer for asynchronous commands and simply get the address of
the command TRB from the event TRB.

Reply via email to