iwlwifi: update comments on how to enable debug flag
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 10 Oct 2011 14:27:07 +0000 (07:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:12 +0000 (14:48 -0400)
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>
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/iwlwifi/iwl-debug.h

index e0441033788c8f4e5c975838f14fac9f1179d59f..57703d5209d7873c1a9dd5882ced9cea0d1ae3b8 100644 (file)
@@ -54,13 +54,13 @@ config IWLWIFI_DEBUG
          control which debug output is sent to the kernel log by setting the
          value in
 
-               /sys/class/net/wlan0/device/debug_level
+               /sys/module/iwlwifi/parameters/debug
 
          This entry will only exist if this option is enabled.
 
          To set a value, simply echo an 8-byte hex value to the same file:
 
-                 % echo 0x43fff > /sys/class/net/wlan0/device/debug_level
+                 % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
 
          You can find the list of debug mask values in:
                  drivers/net/wireless/iwlwifi/iwl-debug.h
index 7014f4124484812e4c90bb2c3dc61e9eb6ea04a2..69a77e24d2293536dec710f80707c491d24e9b4c 100644 (file)
@@ -105,10 +105,12 @@ static inline void iwl_dbgfs_unregister(struct iwl_priv *priv)
  *
  * The active debug levels can be accessed via files
  *
- *     /sys/module/iwlagn/parameters/debug{50}
- *     /sys/class/net/wlan0/device/debug_level
- *
+ *     /sys/module/iwlwifi/parameters/debug
  * when CONFIG_IWLWIFI_DEBUG=y.
+ *
+ *     /sys/kernel/debug/phy0/iwlwifi/debug/debug_level
+ * when CONFIG_IWLWIFI_DEBUGFS=y.
+ *
  */
 
 /* 0x0000000F - 0x00000001 */