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 Another DPRINTF. From Takahiro HAYASHI.
details: https://anonhg.NetBSD.org/src/rev/3cbc99a35b81
branches: nick-nhusb
changeset: 334198:3cbc99a35b81
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Apr 07 06:23:10 2015 +0000
description:
Another DPRINTF. From Takahiro HAYASHI.
diffstat:
sys/dev/usb/uhub.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 165156c64977 -r 3cbc99a35b81 sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c Tue Apr 07 06:09:55 2015 +0000
+++ b/sys/dev/usb/uhub.c Tue Apr 07 06:23:10 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhub.c,v 1.126.2.10 2015/04/07 06:09:55 skrll Exp $ */
+/* $NetBSD: uhub.c,v 1.126.2.11 2015/04/07 06:23:10 skrll Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
/*
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.126.2.10 2015/04/07 06:09:55 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.126.2.11 2015/04/07 06:23:10 skrll Exp $");
#include <sys/param.h>
@@ -571,6 +571,9 @@
}
status = UGETW(up->up_status.wPortStatus);
change = UGETW(up->up_status.wPortChange);
+ DPRINTF("hub %d port %d after reset: s/c=%x/%x",
+ device_unit(sc->sc_dev), port, status, change);
+
if (!(status & UPS_CURRENT_CONNECT_STATUS)) {
/* Nothing connected, just ignore it. */
#ifdef DIAGNOSTIC
Home |
Main Index |
Thread Index |
Old Index