brcmsmac: Add support for writing debug messages to the trace buffer
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 15 Nov 2012 14:08:02 +0000 (08:08 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Nov 2012 19:06:03 +0000 (14:06 -0500)
commit269de12bf10d2398bc6263ab4970bdcde7535787
tree4ef29fb101513cffbdcee0fb15bf4fb4c4398c90
parentb03417443c4dd3f65a070fe95cea1f2682eb0aa8
brcmsmac: Add support for writing debug messages to the trace buffer

Add a new brcmsmac_msg trace system to enable writing of debug messages
to the trace buffer, and add brcms_* macros for storing device debug
messages in the trace buffer in addition to the printk log buffer.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Tested-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/Makefile
drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_events.h
drivers/net/wireless/brcm80211/brcmsmac/debug.c [new file with mode: 0644]
drivers/net/wireless/brcm80211/brcmsmac/debug.h [new file with mode: 0644]