summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2022-01-30 12:52:56 +0300
committerLuca Coelho <luciano.coelho@intel.com>2022-02-18 11:40:52 +0300
commit3ea839c1e22dfc2d05e390d4d0d3e42a9310f949 (patch)
tree419429b96d3efbb2a5c79c513871dc76c99fc4bd /drivers/net/wireless/intel/iwlwifi/iwl-prph.h
parentb6356d43ae18f2ced983f728003037aeec604f6d (diff)
downloadlinux-3ea839c1e22dfc2d05e390d4d0d3e42a9310f949.tar.xz
iwlwifi: read and print OTP minor version
Sometimes it can be useful to know the OTP minor version, so read it from the register and print it out. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20220130115024.a90a1363558e.Ifc08db91cdc7d2e8353af55afaf899e10b2ef875@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-prph.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-prph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
index 8d37a7e8fa6e..03d296a2b38e 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h
@@ -491,4 +491,6 @@ enum {
#define HBUS_TIMEOUT 0xA5A5A5A1
#define WFPM_DPHY_OFF 0xDF10FF
+#define REG_OTP_MINOR 0xA0333C
+
#endif /* __iwl_prph_h__ */