summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2004-11-22 19:53:00 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2004-11-22 19:53:00 +0000
commitfbc705e1b7fca68a81827a2f83fb1ebd300905ae (patch)
tree2c27d7b0981a06fb35606722081ab559f72083e8
parentb4e3625f6c1e703afc0cb2cb667e6979d156db8d (diff)
don't enable debugging by default
-rw-r--r--sys/dev/pci/if_iwi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index 0ca37327a1c..7feb577fb4b 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $Id: if_iwi.c,v 1.5 2004/10/28 23:06:10 brad Exp $ */
+/* $Id: if_iwi.c,v 1.6 2004/11/22 19:52:59 damien Exp $ */
/*-
* Copyright (c) 2004
@@ -136,12 +136,10 @@ static __inline u_int32_t MEM_READ_4(struct iwi_softc *sc, u_int32_t addr)
return CSR_READ_4(sc, IWI_CSR_INDIRECT_DATA);
}
-#define IWI_DEBUG
-
#ifdef IWI_DEBUG
#define DPRINTF(x) if (iwi_debug > 0) printf x
#define DPRINTFN(n, x) if (iwi_debug >= (n)) printf x
-int iwi_debug = 2;
+int iwi_debug = 0;
#else
#define DPRINTF(x)
#define DPRINTFN(n, x)