Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Improve DEBUG message.



details:   https://anonhg.NetBSD.org/src/rev/af53990e0f83
branches:  trunk
changeset: 791623:af53990e0f83
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Nov 26 05:54:43 2013 +0000

description:
Improve DEBUG message.

diffstat:

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

diffs (27 lines):

diff -r b41af65ce98d -r af53990e0f83 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Tue Nov 26 01:41:34 2013 +0000
+++ b/sys/dev/usb/ehci.c        Tue Nov 26 05:54:43 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.218 2013/11/25 07:59:03 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.219 2013/11/26 05:54:43 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.218 2013/11/25 07:59:03 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.219 2013/11/26 05:54:43 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1525,7 +1525,7 @@
        printf("  status=0x%08x: toggle=%d bytes=0x%x ioc=%d c_page=0x%x\n",
               s, EHCI_QTD_GET_TOGGLE(s), EHCI_QTD_GET_BYTES(s),
               EHCI_QTD_GET_IOC(s), EHCI_QTD_GET_C_PAGE(s));
-       printf("    cerr=%d pid=%d stat=0x%s\n", EHCI_QTD_GET_CERR(s),
+       printf("    cerr=%d pid=%d stat=%s\n", EHCI_QTD_GET_CERR(s),
               EHCI_QTD_GET_PID(s), sbuf);
        for (s = 0; s < 5; s++)
                printf("  buffer[%d]=0x%08x\n", s, le32toh(qtd->qtd_buffer[s]));



Home | Main Index | Thread Index | Old Index