Split the consumer & producer logic into two different functions in
authormpi <mpi@openbsd.org>
Sat, 17 Jan 2015 18:37:12 +0000 (18:37 +0000)
committermpi <mpi@openbsd.org>
Sat, 17 Jan 2015 18:37:12 +0000 (18:37 +0000)
commitd1df9c46067c5e144ad282e2a049152a0381a5c5
tree3a307ace2b6b88402df8baa462de645634a91d60
parent163243d41068c938a66bcf9082ad7b0f272c71be
Split the consumer & producer logic into two different functions in
order to read last TRB of the event ring.

Fix a bug introduced in r1.1.
sys/dev/usb/xhci.c