CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2016/10/04 08:12:05
Modified files: sys/dev/usb : usbdi.c Log message: Let the stack perform DMA synchronization instead of doing it (partially) in HC drivers. Only ehci(4) was performing pre & post synchronization completly. Now pre-synchronization is done in usbd_transfer() and post-synchronization in usbd_transfer_complete(). This will allow us to remove the partial synchronization primitives from the pipe handlers. This is similar to what FreeBSD did in r158998, r164519 and r176203. >From Marius Strobl. ok kettenis@