Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb usbd_dump_*() functions are also needed when jus...



details:   https://anonhg.NetBSD.org/src/rev/3aee57d42286
branches:  trunk
changeset: 759925:3aee57d42286
user:      phx <phx%NetBSD.org@localhost>
date:      Mon Dec 20 18:49:11 2010 +0000

description:
usbd_dump_*() functions are also needed when just EHCI_DEBUG is defined,
without USB_DEBUG.

diffstat:

 sys/dev/usb/usbdi.c    |  6 +++---
 sys/dev/usb/usbdivar.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 8b40e785af72 -r 3aee57d42286 sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c       Mon Dec 20 18:18:32 2010 +0000
+++ b/sys/dev/usb/usbdi.c       Mon Dec 20 18:49:11 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdi.c,v 1.130 2010/11/03 22:34:24 dyoung Exp $       */
+/*     $NetBSD: usbdi.c,v 1.131 2010/12/20 18:49:11 phx Exp $  */
 /*     $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $      */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.130 2010/11/03 22:34:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.131 2010/12/20 18:49:11 phx Exp $");
 
 #include "opt_compat_netbsd.h"
 
@@ -81,7 +81,7 @@
                        UE_DIR_IN);
 }
 
-#ifdef USB_DEBUG
+#if defined(USB_DEBUG) || defined(EHCI_DEBUG)
 void
 usbd_dump_iface(struct usbd_interface *iface)
 {
diff -r 8b40e785af72 -r 3aee57d42286 sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h    Mon Dec 20 18:18:32 2010 +0000
+++ b/sys/dev/usb/usbdivar.h    Mon Dec 20 18:49:11 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdivar.h,v 1.91 2009/11/12 20:11:35 dyoung Exp $     */
+/*     $NetBSD: usbdivar.h,v 1.92 2010/12/20 18:49:12 phx Exp $        */
 /*     $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $   */
 
 /*
@@ -223,7 +223,7 @@
 void usbd_init(void);
 void usbd_finish(void);
 
-#ifdef USB_DEBUG
+#if defined(USB_DEBUG) || defined(EHCI_DEBUG)
 void usbd_dump_iface(struct usbd_interface *iface);
 void usbd_dump_device(struct usbd_device *dev);
 void usbd_dump_endpoint(struct usbd_endpoint *endp);



Home | Main Index | Thread Index | Old Index