summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-02-05 10:09:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-02-05 10:09:40 +0000
commitc88dcfb896d7445fae319d4d8a8bcee709577fa7 (patch)
tree9e4c115a8ad24c9c48fef691ce18af9745a90fe7
parente471817b4d2b8b3e4d11b2d90a609a9fc6f45689 (diff)
Don't force NFE_DEBUG, set default debug level to 0.
Committed via an nfe.
-rw-r--r--sys/dev/pci/if_nfe.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index d5fc578c498..f541cd58390 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.16 2006/02/05 10:01:23 damien Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.17 2006/02/05 10:09:39 jsg Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -106,10 +106,8 @@ struct cfdriver nfe_cd = {
NULL, "nfe", DV_IFNET
};
-#define NFE_DEBUG
-
#ifdef NFE_DEBUG
-int nfedebug = 1;
+int nfedebug = 0;
#define DPRINTF(x) do { if (nfedebug) printf x; } while (0)
#define DPRINTFN(n,x) do { if (nfedebug >= (n)) printf x; } while (0)
#else