Doug Barton wrote: > Author: dougb > Date: Sat Nov 7 18:42:53 2009 > New Revision: 199018 > URL: http://svn.freebsd.org/changeset/base/199018 > > Log: > Turn off WPI_DEBUG by default as the driver seems sufficiently stable > at this point. > > Reviewed by: benjsc, thompsa > > Modified: > head/sys/dev/wpi/if_wpi.c > > Modified: head/sys/dev/wpi/if_wpi.c > ============================================================================== > --- head/sys/dev/wpi/if_wpi.c Sat Nov 7 17:29:03 2009 (r199017) > +++ head/sys/dev/wpi/if_wpi.c Sat Nov 7 18:42:53 2009 (r199018) > @@ -103,8 +103,6 @@ __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) > >
The right thing to do is to set wpi_debug to 0 and leave the messages compiled in. Sam _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"