struct dentry *debugfs_beacon;
struct dentry *debugfs_reset;
struct dentry *debugfs_antenna;
+ struct dentry *debugfs_misc;
struct dentry *debugfs_frameerrors;
struct dentry *debugfs_ani;
struct dentry *debugfs_queue;
* @ATH5K_DEBUG_DUMP_TX: print transmit skb content
* @ATH5K_DEBUG_DUMPBANDS: dump bands
* @ATH5K_DEBUG_TRACE: trace function calls
+ * @ATH5K_DEBUG_DESC: descriptor setup
* @ATH5K_DEBUG_ANY: show at any debug level
*
* The debug level is used to control the amount and type of debugging output
ATH5K_DEBUG_DUMP_TX = 0x00000200,
ATH5K_DEBUG_DUMPBANDS = 0x00000400,
ATH5K_DEBUG_ANI = 0x00002000,
+ ATH5K_DEBUG_DESC = 0x00004000,
ATH5K_DEBUG_ANY = 0xffffffff
};
__func__, __LINE__, ##__VA_ARGS__); \
} while (0)
-void
-ath5k_debug_init(void);
-
void
ath5k_debug_init_device(struct ath5k_softc *sc);
-void
-ath5k_debug_finish(void);
-
void
ath5k_debug_finish_device(struct ath5k_softc *sc);
ATH5K_DBG_UNLIMIT(struct ath5k_softc *sc, unsigned int m, const char *fmt, ...)
{}
-static inline void
-ath5k_debug_init(void) {}
-
static inline void
ath5k_debug_init_device(struct ath5k_softc *sc) {}
-static inline void
-ath5k_debug_finish(void) {}
-
static inline void
ath5k_debug_finish_device(struct ath5k_softc *sc) {}