diff options
author | Ester Kummer <ester.kummer@intel.com> | 2008-05-15 01:54:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:48:07 -0400 |
commit | 189a2b5942d62bd18e1e01772c4c784253f5dd16 (patch) | |
tree | d5f85b77bccc796651d73243db76aa717d1f309c /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | 6ba879562289bcad537a2374754ef750307c7d32 (diff) |
iwlwifi: trigger event log from debugfs
This patch adds a trigger for event log printing to debugfs.
It removes the triger from sysfs.
Signed-off-by: Ester Kummer <ester.kummer@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 774aa7c8a82a..a8d062f7b87a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -232,6 +232,14 @@ int iwl_send_cmd_pdu_async(struct iwl_priv *priv, u8 id, u16 len, | |||
232 | struct sk_buff *skb)); | 232 | struct sk_buff *skb)); |
233 | 233 | ||
234 | int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); | 234 | int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); |
235 | |||
236 | /***************************************************** | ||
237 | * Error Handling Debugging | ||
238 | ******************************************************/ | ||
239 | void iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, | ||
240 | u32 num_events, u32 mode); | ||
241 | void iwl_dump_nic_event_log(struct iwl_priv *priv); | ||
242 | |||
235 | /*************** DRIVER STATUS FUNCTIONS *****/ | 243 | /*************** DRIVER STATUS FUNCTIONS *****/ |
236 | 244 | ||
237 | #define STATUS_HCMD_ACTIVE 0 /* host command in progress */ | 245 | #define STATUS_HCMD_ACTIVE 0 /* host command in progress */ |