summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-prph.h
diff options
context:
space:
mode:
authorAlexander Bondar <alexander.bondar@intel.com>2013-10-17 16:26:50 +0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-10 00:27:57 +0400
commit119663c3603412962f2986c1318950aef7421b1f (patch)
tree1bc41cb61782c2f519eff42e1fdb8a8eadbae041 /drivers/net/wireless/iwlwifi/iwl-prph.h
parent3961a61aad9b711bcd74aa7ea2c3655046df7b43 (diff)
downloadlinux-119663c3603412962f2986c1318950aef7421b1f.tar.xz
iwlwifi: mvm: Add debugfs entry to generate NMI to NIC
Writting to fw_nmi entry will set DEVICE_SET_NMI_REG (0x00a01c30) generating NMI that halts NIC CPU. Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Alexander Bondar <alexander.bondar@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-prph.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-prph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-prph.h b/drivers/net/wireless/iwlwifi/iwl-prph.h
index a70c7b9d9bad..f6412dae2659 100644
--- a/drivers/net/wireless/iwlwifi/iwl-prph.h
+++ b/drivers/net/wireless/iwlwifi/iwl-prph.h
@@ -102,6 +102,9 @@
/* Device system time */
#define DEVICE_SYSTEM_TIME_REG 0xA0206C
+/* Device NMI register */
+#define DEVICE_SET_NMI_REG 0x00a01c30
+
/*****************************************************************************
* 7000/3000 series SHR DTS addresses *
*****************************************************************************/