Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Add another debug printf.



details:   https://anonhg.NetBSD.org/src/rev/16e1869a5af1
branches:  trunk
changeset: 479700:16e1869a5af1
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sat Dec 18 22:51:58 1999 +0000

description:
Add another debug printf.

diffstat:

 sys/dev/usb/usb_subr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 4aeb133525ea -r 16e1869a5af1 sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c    Sat Dec 18 22:47:11 1999 +0000
+++ b/sys/dev/usb/usb_subr.c    Sat Dec 18 22:51:58 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_subr.c,v 1.60 1999/12/15 23:00:05 augustss Exp $   */
+/*     $NetBSD: usb_subr.c,v 1.61 1999/12/18 22:51:58 augustss Exp $   */
 /*     $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $   */
 
 /*
@@ -1012,8 +1012,9 @@
 
        /* Set the address */
        err = usbd_set_address(dev, addr);
+       DPRINTFN(5,("usbd_new_device: setting device address=%d\n", addr));
        if (err) {
-               DPRINTFN(-1,("usb_new_device: set address %d failed\n",addr));
+               DPRINTFN(-1,("usb_new_device: set address %d failed\n", addr));
                err = USBD_SET_ADDR_FAILED;
                usbd_remove_device(dev, up);
                return (err);



Home | Main Index | Thread Index | Old Index