PERFORCE change 129922 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Dec 1 16:02:35 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=129922
Change 129922 by hselasky at hselasky_laptop001 on 2007/12/02 00:02:14
Call the correct function.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/uhci.c#46 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/uhci.c#46 (text+ko) ====
@@ -1052,10 +1052,9 @@
xfer, xfer->pipe));
/* sync any DMA memory before doing fixups */
- if (xfer->flags.bdma_enable) {
- usbd_dma_load_post_sync(xfer);
- XXX;
- }
+
+ usbd_bdma_post_sync(xfer);
+
while (nframes--) {
if (td == NULL) {
panic("%s:%d: out of TD's\n",
@@ -1239,9 +1238,9 @@
#endif
/* sync any DMA memory before doing fixups */
- if (xfer->flags.bdma_enable) {
- usbd_dma_load_post_sync(xfer);
- }
+
+ usbd_bdma_post_sync(xfer);
+
/* reset scanner */
xfer->td_transfer_cache = xfer->td_transfer_first;
More information about the p4-projects
mailing list