On Nov 26, 2007 6:43 AM, Bruno Randolf <bruno@xxxxxxxxxxxxx> wrote: > * move all debugging functions to new files debug.c and debug.h. > > * consistently use ATH5K_DEBUG instead of AR_DEBUG and AR5K_DEBUG defines. > ATH5K_DEBUG can be set from outside the Makefile via KCFLAGS. > > * rename DPRINTF to ATH5K_DBG to be consistent with the other logging > functions. ATH5K_DBG honors the debug level set on module load or by debugfs > and is limited by net_ratelimit(). another define ATH5K_DBG_UNLIMIT can be > used specifically when we do not want the output to be rate limited. > > * move all instances where the debugging output was controlled by additional > defines (ATH_DEBUG_MODES, ATH_DUMP_SKB) to use the debug level too. > > * make ATH5K_TRACE honor the debug level as well. > > * remove ath5k_hw_dump_state(). > > * rename all debugging functions to ath5k_debug_xxx. these are static inline {} > when ATH5K_DEBUG is 0. > > * make ath5k_debug_dump_skb distinguish between RX and TX, so we can choose > wether we want to see RX or TX packets. also prepend the "phyX" name. > > * added debugfs entry (ath5k/phyX/debug) to control the debug level for each > device. > > * add kerneldoc for debugging levels. > > base.[ch]: > Changes-licensed-under: 3-clause-BSD > > hw.c, ath5k.h, phy.c: > Changes-licensed-under: ISC > > debug.[ch]: > Changes-licensed-under: GPL Very nice, I have reviewed the patch quickly and this time it seems to address the license issues correctly provided your intention was to GPL your contributions. Just going to give this a spin and review debug.[ch] a bit more, I'll try to do it tonight. Luis - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html