This set of patches modifies the debug system by replacing some complicated macros with the equivalent operations in C. Then, the COMP_XX component debugging is converted into a debug mask. Finally, code is added to permit setting the debug mask from sysfs. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Cc: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Larry Finger (3): rtlwifi: Redo debugging macros RTPRINT and RT_PRINT_DATA rtlwifi: Convert COMP_XX entries into a proper debugging mask rtlwifi: Enable debug mask to be set from sysfs drivers/net/wireless/realtek/rtlwifi/base.c | 43 ++++++++++++++--- drivers/net/wireless/realtek/rtlwifi/debug.c | 55 +++++++++++++++------- drivers/net/wireless/realtek/rtlwifi/debug.h | 31 +++++------- .../net/wireless/realtek/rtlwifi/rtl8188ee/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192cu/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192de/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192ee/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192se/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8723ae/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8723be/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8821ae/sw.c | 5 ++ drivers/net/wireless/realtek/rtlwifi/wifi.h | 4 +- 13 files changed, 135 insertions(+), 43 deletions(-) -- 2.10.2