Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Disable the debug stuff
details: https://anonhg.NetBSD.org/src/rev/f792fac3a523
branches: trunk
changeset: 572761:f792fac3a523
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jan 11 18:54:18 2005 +0000
description:
Disable the debug stuff
diffstat:
sys/dev/pci/if_iwi.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 32e0c4b770b4 -r f792fac3a523 sys/dev/pci/if_iwi.c
--- a/sys/dev/pci/if_iwi.c Tue Jan 11 18:49:05 2005 +0000
+++ b/sys/dev/pci/if_iwi.c Tue Jan 11 18:54:18 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_iwi.c,v 1.2 2005/01/11 18:49:05 skrll Exp $ */
+/* $NetBSD: if_iwi.c,v 1.3 2005/01/11 18:54:18 skrll Exp $ */
/*-
* Copyright (c) 2004, 2005
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwi.c,v 1.2 2005/01/11 18:49:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwi.c,v 1.3 2005/01/11 18:54:18 skrll Exp $");
/*-
* Intel(R) PRO/Wireless 2200BG/2915ABG driver
@@ -135,12 +135,10 @@
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)
Home |
Main Index |
Thread Index |
Old Index