Date: Sat, 6 Jun 2009 06:28:07 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 163632 for review Message-ID: <200906060628.n566S7DL049624@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163632 Change 163632 by thompsa@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 *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906060628.n566S7DL049624>