diff options
author | Meenakshi Venkataraman <meenakshi.venkataraman@intel.com> | 2012-03-15 21:26:56 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-09 22:37:29 +0200 |
commit | 2fdfc476cf3bcf561448e290e00094de4ef4af5d (patch) | |
tree | 0b951a77db5a5bcd3189a8114d75edd64e64bfab /drivers/net/wireless/iwlwifi/iwl-shared.h | |
parent | iwlwifi: make iwl_nic_error static (diff) | |
download | linux-2fdfc476cf3bcf561448e290e00094de4ef4af5d.tar.xz linux-2fdfc476cf3bcf561448e290e00094de4ef4af5d.zip |
iwlwifi: move ucode error log reporting to op_mode
Error log reporting does not belong to the
transport layer, but to the op_mode loading
the ucode, as it is the entity which knows
about the ucode loaded, and what the error
information means.
Move device logging pointers from the
transport layer to op_mode.
With this change, transport layer only
reports an error to the op_mode, which will
figure out what to do with the error. This
causes the driver to now dump out error logs
when the command queue is stuck as well.
Also, move the debugfs entry for event logs
out of the transport layer and into op_mode.
Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-shared.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-shared.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-shared.h b/drivers/net/wireless/iwlwifi/iwl-shared.h index c19c0964e5fe..ef3f0b9064a8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-shared.h +++ b/drivers/net/wireless/iwlwifi/iwl-shared.h @@ -347,7 +347,6 @@ struct iwl_cfg { * @lock: protect general shared data * @eeprom: pointer to the eeprom/OTP image * @ucode_type: indicator of loaded ucode image - * @device_pointers: pointers to ucode event tables */ struct iwl_shared { unsigned long status; @@ -364,11 +363,6 @@ struct iwl_shared { /* ucode related variables */ enum iwl_ucode_type ucode_type; - struct { - u32 error_event_table; - u32 log_event_table; - } device_pointers; - }; /*Whatever _m is (iwl_trans, iwl_priv, these macros will work */ |