Arend van Spriel
1b2c2e73b3
brcmsmac: add copyright information for Canonical
...
Patches from Canonical involved the introduction of new source
files debug.[ch]. That coincided with other patches from Broadcom
introducing the same files.
Cc: Seth Forshee <seth.forshee@canonical.com >
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com >
Reviewed-by: Piotr Haber <phaber@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2013-01-02 14:38:36 -05:00
Piotr Haber
8e21df2389
brcmsmac: hardware info in debugfs
...
Put basic information about hardware in debugfs.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com >
Reviewed-by: Hante Meuleman <meuleman@broadcom.com >
Reviewed-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Piotr Haber <phaber@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Acked-by: Seth Forshee <seth.forshee@canonical.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2012-11-30 13:38:17 -05:00
Joe Perches
fbbdcc0213
brcmsmac: Add __printf verification to logging prototypes
...
Adding __printf helps spot format and argument mismatches.
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2012-11-26 14:54:20 -05:00
Seth Forshee
5211fa2c48
brcmsmac: Add brcms_dbg_ht() debug macro
...
Also convert relevant messages to use this macro.
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 >
2012-11-20 14:07:25 -05:00
Seth Forshee
90123e045c
brcmsmac: Add brcms_dbg_dma() debug macro
...
Also convert relevant messages to use this macro.
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 >
2012-11-20 14:07:12 -05:00
Seth Forshee
229a41d9d0
brcmsmac: Add brcms_dbg_int() debug macro
...
Also convert relevant message to use this macro.
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 >
2012-11-20 14:06:57 -05:00
Seth Forshee
5ce58bb5f9
brcmsmac: Add rx and tx debug macros
...
Also convert relevant messages over to use thses macros.
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 >
2012-11-20 14:06:44 -05:00
Seth Forshee
913911f47b
brcmsmac: Add brcms_dbg_mac80211() debug macro
...
This macro is used for messages related to the 802.11 MAC layer.
Relevant messages are also converted to use this macro.
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 >
2012-11-20 14:06:31 -05:00
Seth Forshee
269de12bf1
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 >
2012-11-20 14:06:03 -05:00