Module Name:    src
Committed By:   skrll
Date:           Sun Apr 10 15:50:25 UTC 2016

Modified Files:
        src/sys/dev/usb [nick-nhusb]: xhci.c

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

>From Takahiro HAYASHI


To generate a diff of this commit:
cvs rdiff -u -r1.28.2.60 -r1.28.2.61 src/sys/dev/usb/xhci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/xhci.c
diff -u src/sys/dev/usb/xhci.c:1.28.2.60 src/sys/dev/usb/xhci.c:1.28.2.61
--- src/sys/dev/usb/xhci.c:1.28.2.60	Sun Apr 10 15:49:26 2016
+++ src/sys/dev/usb/xhci.c	Sun Apr 10 15:50:24 2016
@@ -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 @@ xhci_init_slot(struct usbd_device *dev, 
 	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];

Reply via email to