Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb Fix a DPRINTF where the route string and ro...



details:   https://anonhg.NetBSD.org/src/rev/897678a936b6
branches:  nick-nhusb
changeset: 334485:897678a936b6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Apr 10 15:50:24 2016 +0000

description:
Fix a DPRINTF where the route string and roothub port were swapped.

>From Takahiro HAYASHI

diffstat:

 sys/dev/usb/xhci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ead4b3867ff4 -r 897678a936b6 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Sun Apr 10 15:49:26 2016 +0000
+++ b/sys/dev/usb/xhci.c        Sun Apr 10 15:50:24 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.28.2.60 2016/04/10 15:49:26 skrll Exp $     */
+/*     $NetBSD: xhci.c,v 1.28.2.61 2016/04/10 15:50:24 skrll Exp $     */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.60 2016/04/10 15:49:26 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.61 2016/04/10 15:50:24 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -2699,7 +2699,7 @@
        uint32_t mps = UGETW(dev->ud_ep0desc.wMaxPacketSize);
 
        XHCIHIST_FUNC(); XHCIHIST_CALLED();
-       DPRINTFN(4, "slot %u speed %d rhport %d route %05x",
+       DPRINTFN(4, "slot %u speed %d route %05x rhport %d",
            slot, dev->ud_speed, route, rhport);
 
        xs = &sc->sc_slots[slot];



Home | Main Index | Thread Index | Old Index