Go to the documentation of this file.
61 #ifndef _ATH5K_DEBUG_H
62 #define _ATH5K_DEBUG_H
114 #ifdef CONFIG_ATH5K_DEBUG
116 #define ATH5K_DBG(_sc, _m, _fmt, ...) do { \
117 if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \
118 ATH5K_PRINTK(_sc, KERN_DEBUG, "(%s:%d): " _fmt, \
119 __func__, __LINE__, ##__VA_ARGS__); \
122 #define ATH5K_DBG_UNLIMIT(_sc, _m, _fmt, ...) do { \
123 if (unlikely((_sc)->debug.level & (_m))) \
124 ATH5K_PRINTK(_sc, KERN_DEBUG, "(%s:%d): " _fmt, \
125 __func__, __LINE__, ##__VA_ARGS__); \
142 #include <linux/compiler.h>