summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-02-08 13:28:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-02-08 13:28:33 +0000
commit4ea8e07e1cb05f3146735f88636f517b8a70559a (patch)
tree1b7c1ecd9301ac06c1c04197316d89210c21c091
parent5d91908b5f884df58d44035b4bb456cc099931ac (diff)
Add back minimal debugging to help track down tx errors some MACs
seem to be reporting.
-rw-r--r--sys/dev/pci/if_nfe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 277311bbd02..24b86fbc531 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.21 2006/02/08 09:28:46 jsg Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.22 2006/02/08 13:28:32 jsg Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -106,8 +106,10 @@ struct cfdriver nfe_cd = {
NULL, "nfe", DV_IFNET
};
+#define NFE_DEBUG
+
#ifdef NFE_DEBUG
-int nfedebug = 0;
+int nfedebug = 1;
#define DPRINTF(x) do { if (nfedebug) printf x; } while (0)
#define DPRINTFN(n,x) do { if (nfedebug >= (n)) printf x; } while (0)
#else