diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-10-10 10:27:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 14:48:12 -0400 |
commit | add6ff1aa35495f259056954202494f89f11cc98 (patch) | |
tree | 7ae62c7b21478f07a4cd0f3adeccc4751d875b79 | |
parent | f3129b73889086f326d810c1cf4e807849321d64 (diff) |
iwlwifi: update comments on how to enable debug flag
Modify comments on how to enable and change debug_level
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/Kconfig | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debug.h | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig index e0441033788c..57703d5209d7 100644 --- a/drivers/net/wireless/iwlwifi/Kconfig +++ b/drivers/net/wireless/iwlwifi/Kconfig | |||
@@ -54,13 +54,13 @@ config IWLWIFI_DEBUG | |||
54 | control which debug output is sent to the kernel log by setting the | 54 | control which debug output is sent to the kernel log by setting the |
55 | value in | 55 | value in |
56 | 56 | ||
57 | /sys/class/net/wlan0/device/debug_level | 57 | /sys/module/iwlwifi/parameters/debug |
58 | 58 | ||
59 | This entry will only exist if this option is enabled. | 59 | This entry will only exist if this option is enabled. |
60 | 60 | ||
61 | To set a value, simply echo an 8-byte hex value to the same file: | 61 | To set a value, simply echo an 8-byte hex value to the same file: |
62 | 62 | ||
63 | % echo 0x43fff > /sys/class/net/wlan0/device/debug_level | 63 | % echo 0x43fff > /sys/module/iwlwifi/parameters/debug |
64 | 64 | ||
65 | You can find the list of debug mask values in: | 65 | You can find the list of debug mask values in: |
66 | drivers/net/wireless/iwlwifi/iwl-debug.h | 66 | drivers/net/wireless/iwlwifi/iwl-debug.h |
diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.h b/drivers/net/wireless/iwlwifi/iwl-debug.h index 7014f4124484..69a77e24d229 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debug.h +++ b/drivers/net/wireless/iwlwifi/iwl-debug.h | |||
@@ -105,10 +105,12 @@ static inline void iwl_dbgfs_unregister(struct iwl_priv *priv) | |||
105 | * | 105 | * |
106 | * The active debug levels can be accessed via files | 106 | * The active debug levels can be accessed via files |
107 | * | 107 | * |
108 | * /sys/module/iwlagn/parameters/debug{50} | 108 | * /sys/module/iwlwifi/parameters/debug |
109 | * /sys/class/net/wlan0/device/debug_level | ||
110 | * | ||
111 | * when CONFIG_IWLWIFI_DEBUG=y. | 109 | * when CONFIG_IWLWIFI_DEBUG=y. |
110 | * | ||
111 | * /sys/kernel/debug/phy0/iwlwifi/debug/debug_level | ||
112 | * when CONFIG_IWLWIFI_DEBUGFS=y. | ||
113 | * | ||
112 | */ | 114 | */ |
113 | 115 | ||
114 | /* 0x0000000F - 0x00000001 */ | 116 | /* 0x0000000F - 0x00000001 */ |