Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Move dp8390_debug to the #ifdef DEBUG section.



details:   https://anonhg.NetBSD.org/src/rev/b7ebd1776026
branches:  trunk
changeset: 540678:b7ebd1776026
user:      kristerw <kristerw%NetBSD.org@localhost>
date:      Sat Dec 21 15:24:42 2002 +0000

description:
Move dp8390_debug to the #ifdef DEBUG section.

diffstat:

 sys/dev/ic/dp8390.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 2a7026039700 -r b7ebd1776026 sys/dev/ic/dp8390.c
--- a/sys/dev/ic/dp8390.c       Sat Dec 21 13:28:25 2002 +0000
+++ b/sys/dev/ic/dp8390.c       Sat Dec 21 15:24:42 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dp8390.c,v 1.50 2002/09/27 15:37:16 provos Exp $       */
+/*     $NetBSD: dp8390.c,v 1.51 2002/12/21 15:24:42 kristerw Exp $     */
 
 /*
  * Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -14,7 +14,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.50 2002/09/27 15:37:16 provos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.51 2002/12/21 15:24:42 kristerw Exp $");
 
 #include "opt_ipkdb.h"
 #include "opt_inet.h"
@@ -70,6 +70,7 @@
 
 #ifdef DEBUG
 #define __inline__     /* XXX for debugging porpoises */
+int    dp8390_debug = 0;
 #endif
 
 static __inline__ void dp8390_xmit __P((struct dp8390_softc *));
@@ -83,8 +84,6 @@
 
 static int             dp8390_test_mem __P((struct dp8390_softc *));
 
-int    dp8390_debug = 0;
-
 /*
  * Standard media init routine for the dp8390.
  */



Home | Main Index | Thread Index | Old Index