[Midnightbsd-cvs] src: dev/bwi: don't enable BWI_DEBUG here, use the opt_bwi.h for that.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jan 19 17:22:52 EST 2009


Log Message:
-----------
don't enable BWI_DEBUG here, use the opt_bwi.h for that.

Modified Files:
--------------
    src/sys/dev/bwi:
        bwimac.c (r1.1 -> r1.2)
        bwirf.c (r1.1 -> r1.2)
        if_bwi.c (r1.1 -> r1.2)
        if_bwivar.h (r1.1 -> r1.2)

-------------- next part --------------
Index: if_bwivar.h
===================================================================
RCS file: /home/cvs/src/sys/dev/bwi/if_bwivar.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -L sys/dev/bwi/if_bwivar.h -L sys/dev/bwi/if_bwivar.h -u -r1.1 -r1.2
--- sys/dev/bwi/if_bwivar.h
+++ sys/dev/bwi/if_bwivar.h
@@ -85,7 +85,6 @@
 #define CSR_CLRBITS_2(sc, reg, bits)	\
 	CSR_WRITE_2((sc), (reg), CSR_READ_2((sc), (reg)) & ~(bits))
 
-#define BWI_DEBUG
 #ifdef BWI_DEBUG
 #define DPRINTF(sc, fmt, ...)	device_printf(sc->sc_dev, fmt, __VA_ARGS__)
 #else
Index: bwirf.c
===================================================================
RCS file: /home/cvs/src/sys/dev/bwi/bwirf.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -L sys/dev/bwi/bwirf.c -L sys/dev/bwi/bwirf.c -u -r1.1 -r1.2
--- sys/dev/bwi/bwirf.c
+++ sys/dev/bwi/bwirf.c
@@ -38,6 +38,7 @@
 #include <sys/cdefs.h>
 
 #include "opt_inet.h"
+#include "opt_bwi.h"
 
 #include <sys/param.h>
 #include <sys/endian.h>
Index: bwimac.c
===================================================================
RCS file: /home/cvs/src/sys/dev/bwi/bwimac.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -L sys/dev/bwi/bwimac.c -L sys/dev/bwi/bwimac.c -u -r1.1 -r1.2
--- sys/dev/bwi/bwimac.c
+++ sys/dev/bwi/bwimac.c
@@ -38,6 +38,7 @@
 #include <sys/cdefs.h>
 
 #include "opt_inet.h"
+#include "opt_bwi.h"
 
 #include <sys/param.h>
 #include <sys/endian.h>
Index: if_bwi.c
===================================================================
RCS file: /home/cvs/src/sys/dev/bwi/if_bwi.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -L sys/dev/bwi/if_bwi.c -L sys/dev/bwi/if_bwi.c -u -r1.1 -r1.2
--- sys/dev/bwi/if_bwi.c
+++ sys/dev/bwi/if_bwi.c
@@ -38,6 +38,7 @@
 #include <sys/cdefs.h>
 
 #include "opt_inet.h"
+#include "opt_bwi.h"
 
 #include <sys/param.h>
 #include <sys/endian.h>


More information about the Midnightbsd-cvs mailing list