]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: validate the signature for EEPROM and OTP
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 2 Oct 2009 20:44:06 +0000 (13:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:45 +0000 (16:39 -0400)
commite00e6e316208c05fd1ba02aac2aecf5438e19951
treed33eb3f81dbe75652d6ae6d4963fef9e34dc7311
parent23e17eab3f4b3d7cf1778539a6598b3645958920
iwlwifi: validate the signature for EEPROM and OTP

Both 1000 & 6000 series NICs contain on-chip OTP memory that
replaces the off-chip EEPROM memory. The nature of OTP means
there is a limited number of times a particular board can go through the
factory flow and be (re)calibrated. As a consequence there will be some boards
that contain EEPROM memory because OTP blocks were full.

In the signature validation routine, iwlwifi needs to make sure
"select bit" and "EEPROM/OTP signature" agree on the type of
NVM to be used to configure the system.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-csr.h
drivers/net/wireless/iwlwifi/iwl-eeprom.c