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 XHCI_DEBUG. From Takahiro HAYASHI with twea...



details:   https://anonhg.NetBSD.org/src/rev/0d959579573b
branches:  trunk
changeset: 801640:0d959579573b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 12 13:28:44 2014 +0000

description:
Add XHCI_DEBUG.  From Takahiro HAYASHI with tweaks from me.

One day someone(tm) will tidyup USB debug stuff.

diffstat:

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

diffs (36 lines):

diff -r 9934af762e7d -r 0d959579573b sys/dev/usb/files.usb
--- a/sys/dev/usb/files.usb     Tue Aug 12 13:24:40 2014 +0000
+++ b/sys/dev/usb/files.usb     Tue Aug 12 13:28:44 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.usb,v 1.132 2014/04/05 23:47:26 khorben Exp $
+#      $NetBSD: files.usb,v 1.133 2014/08/12 13:28:44 skrll Exp $
 #
 # Config file and device description for machine-independent USB code.
 # Included by ports that need it.  Ports that use it must provide
@@ -6,7 +6,8 @@
 
 defflag        USBVERBOSE
 defflag        opt_usb.h       USB_FRAG_DMA_WORKAROUND
-defflag        opt_usb.h       EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG UHUB_DEBUG USB_DEBUG
+defflag        opt_usb.h       UHUB_DEBUG USB_DEBUG
+defflag        opt_usb.h       EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG XHCI_DEBUG
 
 defflag        opt_umodem.h    UMODEM_DEBUG
 defflag        opt_uvideo.h    UVIDEO_DEBUG
diff -r 9934af762e7d -r 0d959579573b sys/dev/usb/usb.h
--- a/sys/dev/usb/usb.h Tue Aug 12 13:24:40 2014 +0000
+++ b/sys/dev/usb/usb.h Tue Aug 12 13:28:44 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.h,v 1.107 2014/08/12 13:24:40 skrll Exp $  */
+/*     $NetBSD: usb.h,v 1.108 2014/08/12 13:28:44 skrll Exp $  */
 /*     $FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $        */
 
 /*
@@ -126,6 +126,7 @@
 #define UVSCOM_DEBUG 1
 #define UYUREX_DEBUG 1
 #define UZCOM_DEBUG 1
+#define XHCI_DEBUG 1
 #define ZYD_DEBUG 1
 #define Static
 #else



Home | Main Index | Thread Index | Old Index