summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/debug.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-09-01 15:14:06 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-09-01 18:48:28 +0200
commit04e715cd46ba523806070fbf9ded009f10e107cd (patch)
treeed6f3130398a7d6e8b64d39ae87c241652348ed1 /drivers/net/wireless/iwmc3200wifi/debug.h
parentiwmc3200wifi: Handle UMAC stalls and UMAC assert properly (diff)
downloadlinux-04e715cd46ba523806070fbf9ded009f10e107cd.tar.xz
linux-04e715cd46ba523806070fbf9ded009f10e107cd.zip
iwmc3200wifi: Add a last_fw_err debugfs entry
In order to check what was the last fw error we got accross resets, we add this debugfs entry. It displays the complete ASSERT information. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/debug.h')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/debug.h b/drivers/net/wireless/iwmc3200wifi/debug.h
index 8fbb42d9c21f..e35c9b693d1f 100644
--- a/drivers/net/wireless/iwmc3200wifi/debug.h
+++ b/drivers/net/wireless/iwmc3200wifi/debug.h
@@ -108,6 +108,8 @@ struct iwm_debugfs {
struct dentry *txq_dentry;
struct dentry *tx_credit_dentry;
struct dentry *rx_ticket_dentry;
+
+ struct dentry *fw_err_dentry;
};
#ifdef CONFIG_IWM_DEBUG