summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h
diff options
context:
space:
mode:
authorGolan Ben Ami <golan.ben.ami@intel.com>2018-02-01 16:54:48 +0100
committerLuca Coelho <luciano.coelho@intel.com>2018-07-26 12:16:16 +0200
commit9b58419e511a8b7c3ae1cebe1926fc3a7c59a31c (patch)
treecc62560baad23a66aa72239f9899a8f697369459 /drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h
parentiwlwifi: pcie: start early debug for 22560 devices (diff)
downloadlinux-9b58419e511a8b7c3ae1cebe1926fc3a7c59a31c.tar.xz
linux-9b58419e511a8b7c3ae1cebe1926fc3a7c59a31c.zip
iwlwifi: update gen3 interrupts - sw error and image response
In 22560 devices the ROM sendis an interrupt to the host once the IML reading is done. Handle this interrupt, and indicate sw error in case the value is fail. Additionally, the cause for sw error in 22560 devices have been changed, so update the cause list. Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h b/drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h
index 8969dcc0d2db..ebea99189ca9 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-context-info-gen3.h
@@ -57,6 +57,7 @@
#define CSR_CTXT_INFO_ADDR 0x118
#define CSR_IML_DATA_ADDR 0x120
#define CSR_IML_SIZE_ADDR 0x128
+#define CSR_IML_RESP_ADDR 0x12c
/* Set bit for enabling automatic function boot */
#define CSR_AUTO_FUNC_BOOT_ENA BIT(1)