Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Better debug message.



details:   https://anonhg.NetBSD.org/src/rev/cd6133a98eae
branches:  trunk
changeset: 516523:cd6133a98eae
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Oct 24 15:30:17 2001 +0000

description:
Better debug message.

diffstat:

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

diffs (20 lines):

diff -r 96f7a336cdb9 -r cd6133a98eae sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c        Wed Oct 24 14:55:09 2001 +0000
+++ b/sys/dev/usb/uhub.c        Wed Oct 24 15:30:17 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhub.c,v 1.50 2001/09/28 23:42:16 augustss Exp $       */
+/*     $NetBSD: uhub.c,v 1.51 2001/10/24 15:30:17 augustss Exp $       */
 /*     $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $       */
 
 /*
@@ -344,8 +344,8 @@
                }
                status = UGETW(up->status.wPortStatus);
                change = UGETW(up->status.wPortChange);
-               DPRINTFN(3,("uhub_explore: port %d status 0x%04x 0x%04x\n",
-                           port, status, change));
+               DPRINTFN(3,("uhub_explore: %s port %d status 0x%04x 0x%04x\n",
+                           USBDEVNAME(sc->sc_dev), port, status, change));
                if (change & UPS_C_PORT_ENABLED) {
                        DPRINTF(("uhub_explore: C_PORT_ENABLED\n"));
                        usbd_clear_port_feature(dev, port, UHF_C_PORT_ENABLE);



Home | Main Index | Thread Index | Old Index