Module Name:    src
Committed By:   sketch
Date:           Mon Jul 27 14:41:19 UTC 2009

Modified Files:
        src/sys/dev/usb: ehci.c

Log Message:
Wrap ehcidebug in EHCI_DEBUG, not USB_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/dev/usb/ehci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.157 src/sys/dev/usb/ehci.c:1.158
--- src/sys/dev/usb/ehci.c:1.157	Wed Mar 18 10:22:41 2009
+++ src/sys/dev/usb/ehci.c	Mon Jul 27 14:41:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ehci.c,v 1.157 2009/03/18 10:22:41 cegger Exp $ */
+/*	$NetBSD: ehci.c,v 1.158 2009/07/27 14:41:19 sketch Exp $ */
 
 /*
  * Copyright (c) 2004-2008 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.157 2009/03/18 10:22:41 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.158 2009/07/27 14:41:19 sketch Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1332,7 +1332,7 @@
 
 	DPRINTF(("ehci_device_clear_toggle: epipe=%p status=0x%x\n",
 		 epipe, epipe->sqh->qh.qh_qtd.qtd_status));
-#ifdef USB_DEBUG
+#ifdef EHCI_DEBUG
 	if (ehcidebug)
 		usbd_dump_pipe(pipe);
 #endif
@@ -3092,7 +3092,7 @@
 	ehci_softc_t *sc = epipe->pipe.device->bus->hci_private;
 
 	DPRINTF(("ehci_timeout: exfer=%p\n", exfer));
-#ifdef USB_DEBUG
+#ifdef EHCI_DEBUG
 	if (ehcidebug > 1)
 		usbd_dump_pipe(exfer->xfer.pipe);
 #endif

Reply via email to