summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-prph.h
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2013-12-02 11:18:10 +0100
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-02-03 21:23:32 +0100
commite12ba844acc0cc212adef6c2d5f9251ea787c822 (patch)
tree73d41416bdf12beb9f66202ff882463e9269fff1 /drivers/net/wireless/iwlwifi/iwl-prph.h
parentiwlwifi: pcie: disable APMG configurations for family 8000 (diff)
downloadlinux-e12ba844acc0cc212adef6c2d5f9251ea787c822.tar.xz
linux-e12ba844acc0cc212adef6c2d5f9251ea787c822.zip
iwlwifi: pcie: change CSR reset in family 8000
This register is not present in 8000 family devices. There is prph register instead. Signed-off-by: Eran Harary <eran.harary@intel.com> Reviewed-by: Dor Shaish <dor.shaish@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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-prph.h b/drivers/net/wireless/iwlwifi/iwl-prph.h
index 100bd0d79681..fc3b6bee7734 100644
--- a/drivers/net/wireless/iwlwifi/iwl-prph.h
+++ b/drivers/net/wireless/iwlwifi/iwl-prph.h
@@ -105,6 +105,13 @@
/* Device NMI register */
#define DEVICE_SET_NMI_REG 0x00a01c30
+/*
+ * Device reset for family 8000
+ * write to bit 24 in order to reset the CPU
+*/
+#define RELEASE_CPU_RESET (0x300C)
+#define RELEASE_CPU_RESET_BIT BIT(24)
+
/*****************************************************************************
* 7000/3000 series SHR DTS addresses *
*****************************************************************************/