Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Make it link with debug flag.



details:   https://anonhg.NetBSD.org/src/rev/e1c3a34badda
branches:  trunk
changeset: 508558:e1c3a34badda
user:      augustss <augustss%NetBSD.org@localhost>
date:      Fri Apr 13 12:51:43 2001 +0000

description:
Make it link with debug flag.

diffstat:

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

diffs (36 lines):

diff -r 581b826f66d7 -r e1c3a34badda sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Fri Apr 13 12:42:40 2001 +0000
+++ b/sys/dev/usb/umass.c       Fri Apr 13 12:51:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.56 2001/04/13 12:24:10 augustss Exp $      */
+/*     $NetBSD: umass.c,v 1.57 2001/04/13 12:51:43 augustss Exp $      */
 /*-
  * Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
  *                   Nick Hibma <n_hibma%freebsd.org@localhost>
@@ -124,6 +124,8 @@
 
 
 #ifdef UMASS_DEBUG
+int umassdebug = 0;
+
 char *states[TSTATE_STATES+1] = {
        /* should be kept in sync with the list at transfer_state */
        "Idle",
diff -r 581b826f66d7 -r e1c3a34badda sys/dev/usb/umassvar.h
--- a/sys/dev/usb/umassvar.h    Fri Apr 13 12:42:40 2001 +0000
+++ b/sys/dev/usb/umassvar.h    Fri Apr 13 12:51:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umassvar.h,v 1.1 2001/04/13 12:24:10 augustss Exp $    */
+/*     $NetBSD: umassvar.h,v 1.2 2001/04/13 12:51:43 augustss Exp $    */
 /*-
  * Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
  *                   Nick Hibma <n_hibma%freebsd.org@localhost>
@@ -44,7 +44,7 @@
 #define UDMASS_XFER    0x40000000      /* all transfers */
 #define UDMASS_CMD     0x80000000
 
-int umassdebug = 0;
+extern int umassdebug;
 #else
 #define DIF(m, x)      /* nop */
 #define DPRINTF(m, x)  /* nop */



Home | Main Index | Thread Index | Old Index