.. hm, interesting. I didn't catch this. Maybe I should whack the ATH_KTR_* things outside of the #ifdef ATH_DEBUG .. ?
ADrian On 11 July 2012 05:10, John Baldwin <j...@freebsd.org> wrote: > Author: jhb > Date: Wed Jul 11 12:10:13 2012 > New Revision: 238364 > URL: http://svn.freebsd.org/changeset/base/238364 > > Log: > Map ATH_KTR_* to 0 when ATH_DEBUG is not defined. This effectively NOPs > out their use in that case. > > Modified: > head/sys/dev/ath/if_ath_debug.h > > Modified: head/sys/dev/ath/if_ath_debug.h > ============================================================================== > --- head/sys/dev/ath/if_ath_debug.h Wed Jul 11 08:24:30 2012 > (r238363) > +++ head/sys/dev/ath/if_ath_debug.h Wed Jul 11 12:10:13 2012 > (r238364) > @@ -91,6 +91,9 @@ extern void ath_printrxbuf(struct ath_so > extern void ath_printtxbuf(struct ath_softc *, const struct ath_buf *bf, > u_int qnum, u_int ix, int done); > #else /* ATH_DEBUG */ > +#define ATH_KTR_INTR 0 > +#define ATH_KTR_ERR 0 > + > #define IFF_DUMPPKTS(sc, m) \ > ((sc->sc_ifp->if_flags & (IFF_DEBUG|IFF_LINK2)) == > (IFF_DEBUG|IFF_LINK2)) > #define DPRINTF(sc, m, fmt, ...) do { \ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"