Skip to content
Commit 1f56f45d authored by Richard Alpe's avatar Richard Alpe Committed by Jeff Kirsher
Browse files

e1000e: clear REQ and GNT in EECD (82571 && 82572)



Clear the REQ and GNT bit in the eeprom control register (EECD).
This is required if the eeprom is to be accessed with auto read
EERD register.

After a cold reset this doesn't matter but if PBIST MAC test was
executed before booting, the register was left in a dirty state
(the 2 bits where set), which caused the read operation to time out
and returning 0.

Reference (page 312):
http://download.intel.com/design/network/manuals/316080.pdf

Reported-by: default avatarAleksandar Igic <aleksandar.igic@dektech.com.au>
Signed-off-by: default avatarRichard Alpe <richard.alpe@ericsson.com>
Tested-by: default avatarJeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 7b9f7e35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment