svn commit: r301008 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Tue May 31 04:09:18 UTC 2016
Author: adrian
Date: Tue May 31 04:09:17 2016
New Revision: 301008
URL: https://svnweb.freebsd.org/changeset/base/301008
Log:
[ath] add BTCOEX debug section; modify DPRINTF() to take a no-arg format string.
Tested:
* QCA9565, STA mode
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 Tue May 31 00:23:29 2016 (r301007)
+++ head/sys/dev/ath/if_ath_debug.h Tue May 31 04:09:17 2016 (r301008)
@@ -69,6 +69,7 @@ enum {
ATH_DEBUG_NODE_PWRSAVE = 0x800000000ULL, /* node powersave */
ATH_DEBUG_DIVERSITY = 0x1000000000ULL, /* Diversity logic */
ATH_DEBUG_PWRSAVE = 0x2000000000ULL,
+ ATH_DEBUG_BTCOEX = 0x4000000000ULL, /* BT Coex */
ATH_DEBUG_ANY = 0xffffffffffffffffULL
};
@@ -92,9 +93,9 @@ enum {
extern uint64_t ath_debug;
#define IFF_DUMPPKTS(sc, m) (sc->sc_debug & (m))
-#define DPRINTF(sc, m, fmt, ...) do { \
+#define DPRINTF(sc, m, ...) do { \
if (sc->sc_debug & (m)) \
- device_printf(sc->sc_dev, fmt, __VA_ARGS__); \
+ device_printf(sc->sc_dev, __VA_ARGS__); \
} while (0)
#define KEYPRINTF(sc, ix, hk, mac) do { \
if (sc->sc_debug & ATH_DEBUG_KEYCACHE) \
More information about the svn-src-all
mailing list