PERFORCE change 163632 for review
Andrew Thompson
thompsa at FreeBSD.org
Sat Jun 6 06:28:09 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163632
Change 163632 by thompsa at thompsa_burger on 2009/06/06 06:27:37
Kill debug printfs.
Affected files ...
.. //depot/projects/usb_buf/src/sys/dev/usb/usb_transfer.c#17 edit
Differences ...
==== //depot/projects/usb_buf/src/sys/dev/usb/usb_transfer.c#17 (text+ko) ====
@@ -1445,7 +1445,7 @@
}
if (pipe->flags_int.halted) {
- printf("pipe halted, queuing %p\n", urb);
+ /* The pipe can not be used yet, defer */
TAILQ_INSERT_TAIL(&pipe->urb_pending_q, urb, ub_next);
return;
}
@@ -1665,7 +1665,6 @@
pipe->flags_int.halted = 0;
while ((urb = TAILQ_FIRST(&pipe->urb_pending_q)) != NULL) {
TAILQ_REMOVE(&pipe->urb_pending_q, urb, ub_next);
- printf("pipe unhalted, dequeuing %p\n", urb);
usb_submit_urb_flags(urb, 0);
}
USB_PIPE_UNLOCK(pipe);
@@ -2751,6 +2750,7 @@
struct usb_pipe *pipe = urb->ub_pipe;
urb->frlengths[0] = pipe->max_data_length;
+ urb->priv = NULL;
}
struct usb_urb *
More information about the p4-projects
mailing list