Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2009 02:33:33 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199037 - head/sys/dev/wpi
Message-ID:  <200911080233.nA82XXWG070635@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Sun Nov  8 02:33:33 2009
New Revision: 199037
URL: http://svn.freebsd.org/changeset/base/199037

Log:
  Properly turn off debugging
  
  LART applied (gently) by:	sam

Modified:
  head/sys/dev/wpi/if_wpi.c

Modified: head/sys/dev/wpi/if_wpi.c
==============================================================================
--- head/sys/dev/wpi/if_wpi.c	Sun Nov  8 01:30:35 2009	(r199036)
+++ head/sys/dev/wpi/if_wpi.c	Sun Nov  8 02:33:33 2009	(r199037)
@@ -103,6 +103,8 @@ __FBSDID("$FreeBSD$");
 #include <dev/wpi/if_wpireg.h>
 #include <dev/wpi/if_wpivar.h>
 
+#define WPI_DEBUG
+
 #ifdef WPI_DEBUG
 #define DPRINTF(x)	do { if (wpi_debug != 0) printf x; } while (0)
 #define DPRINTFN(n, x)	do { if (wpi_debug & n) printf x; } while (0)
@@ -124,7 +126,7 @@ enum {
 	WPI_DEBUG_ANY		= 0xffffffff
 };
 
-static int wpi_debug = 1;
+static int wpi_debug = 0;
 SYSCTL_INT(_debug, OID_AUTO, wpi, CTLFLAG_RW, &wpi_debug, 0, "wpi debug level");
 TUNABLE_INT("debug.wpi", &wpi_debug);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911080233.nA82XXWG070635>