summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2004-11-22 19:52:59 +0000
committerdamien <damien@openbsd.org>2004-11-22 19:52:59 +0000
commite6b2ffb98a20a2cfc6815bcbd520cf0d07fb747e (patch)
tree6a4e48cc222d43cf7765034a444c954e57bf87cb
parentfix a typo (diff)
downloadwireguard-openbsd-e6b2ffb98a20a2cfc6815bcbd520cf0d07fb747e.tar.xz
wireguard-openbsd-e6b2ffb98a20a2cfc6815bcbd520cf0d07fb747e.zip
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)