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 Actually print the bus root hub device in d...



details:   https://anonhg.NetBSD.org/src/rev/ecb1d5a30f42
branches:  nick-nhusb
changeset: 334602:ecb1d5a30f42
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 02 16:34:40 2017 +0000

description:
Actually print the bus root hub device in debug output

diffstat:

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

diffs (27 lines):

diff -r 1308597133f3 -r ecb1d5a30f42 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Mon Jan 02 16:32:23 2017 +0000
+++ b/sys/dev/usb/xhci.c        Mon Jan 02 16:34:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.28.2.79 2017/01/02 16:32:23 skrll Exp $     */
+/*     $NetBSD: xhci.c,v 1.28.2.80 2017/01/02 16:34:40 skrll Exp $     */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.79 2017/01/02 16:32:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.80 2017/01/02 16:34:40 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -2299,7 +2299,7 @@
 
        if (depth == 0 && port == 0) {
                usbd_attach_roothub(parent, dev);
-               DPRINTFN(1, "root_hub %p", bus->ub_roothub, 0, 0, 0);
+               DPRINTFN(1, "root hub %p", dev, 0, 0, 0);
                return USBD_NORMAL_COMPLETION;
        }
 



Home | Main Index | Thread Index | Old Index