From: Richard Alpe Date: Fri, 20 Apr 2012 15:24:50 +0000 (+0000) Subject: e1000e: clear REQ and GNT in EECD (82571 && 82572) X-Git-Tag: v3.5-rc1~109^2~159^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f56f45df9f19cdb87bb90020163046f09df9b45;p=pandora-kernel.git 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: Aleksandar Igic Signed-off-by: Richard Alpe Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed