Set the length of isochronous transfers as the sum of the frames lengths.
authormpi <mpi@openbsd.org>
Mon, 15 Jun 2015 15:45:28 +0000 (15:45 +0000)
committermpi <mpi@openbsd.org>
Mon, 15 Jun 2015 15:45:28 +0000 (15:45 +0000)
commite0841944412c2d6ba1f99b17e5b577f7c7d7d199
treefacd898f98b828b4af9e7b22451355a65133c169
parentc82928d6fefc6ee968d6cab01996ebacea401b4e
Set the length of isochronous transfers as the sum of the frames lengths.

This reduces differences between non-isoch and isoch transfers submissions,
makes the generic DMA buffer overrun check work with isoch transfers and
will allow some code simplifications in HC drivers.

Since short-transfers were never checked for isoch transfers, we now need to
pass the USBD_SHORT_XFER_OK flag to not change this behavior.  This might be
revisited later.

ok ratchov@
sys/dev/usb/uaudio.c
sys/dev/usb/ugen.c
sys/dev/usb/usbdi.c