summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2019-04-30 20:09:13 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2019-04-30 20:09:13 +0000
commite902a7ef15bd02a63407fd02e3f1e8395a47f718 (patch)
tree19ddfb99afc53729890870b2733450fbb1e55a2a /sys
parentdb3459357af556ac92e8635f774bb83163b6ab1a (diff)
Decrease verbosity when XHCI_DEBUG is defined.
ok mpi
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/xhci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/xhci.c b/sys/dev/usb/xhci.c
index 89757f984d0..6bee1d5c097 100644
--- a/sys/dev/usb/xhci.c
+++ b/sys/dev/usb/xhci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xhci.c,v 1.102 2019/04/10 08:27:35 ratchov Exp $ */
+/* $OpenBSD: xhci.c,v 1.103 2019/04/30 20:09:12 ratchov Exp $ */
/*
* Copyright (c) 2014-2015 Martin Pieuchot
@@ -3048,7 +3048,7 @@ xhci_device_isoc_start(struct usbd_xfer *xfer)
*/
trb = xhci_xfer_get_trb(sc, xfer, &toggle, (ntrb == 1));
- DPRINTF(("%s:%d: ring %p trb0_idx %lu ntrb %d paddr %llx "
+ DPRINTFN(4, ("%s:%d: ring %p trb0_idx %lu ntrb %d paddr %llx "
"len %u\n", __func__, __LINE__,
&xp->ring.trbs[0], (trb - &xp->ring.trbs[0]), ntrb, paddr,
len));
@@ -3091,7 +3091,7 @@ xhci_device_isoc_start(struct usbd_xfer *xfer)
if (usbd_xfer_isread(xfer))
flags |= XHCI_TRB_ISP;
flags |= (j == 1) ? XHCI_TRB_IOC : XHCI_TRB_CHAIN;
- DPRINTF(("%s:%d: ring %p trb0_idx %lu ntrb %d "
+ DPRINTFN(3, ("%s:%d: ring %p trb0_idx %lu ntrb %d "
"paddr %llx len %u\n", __func__, __LINE__,
&xp->ring.trbs[0], (trb - &xp->ring.trbs[0]), ntrb,
paddr, len));