]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
e1000e: workaround EEPROM configuration change on 82579
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 20 Mar 2012 03:47:57 +0000 (03:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 May 2012 08:58:38 +0000 (01:58 -0700)
commit62bc813e48aef39c187bb426ddd5441862f1d8d1
treeed41c6ede87fa6dcc71dfd7e2c4775fe9c0dd479
parente4ae004b84b315dd4b762e474f97403eac70f76a
e1000e: workaround EEPROM configuration change on 82579

An update to the EEPROM on 82579 will extend a delay in hardware to fix an
issue with WoL not working after a G3->S5 transition which is unrelated to
the driver.  However, this extended delay conflicts with nominal operation
of the device when it is initialized by the driver and after every reset
of the hardware (i.e. the driver starts configuring the device before the
hardware is done with it's own configuration work).  The workaround for
when the driver is in control of the device is to tell the hardware after
every reset the configuration delay should be the original shorter one.

Some pre-existing variables are renamed generically to be re-used with
new register accesses.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/hw.h
drivers/net/ethernet/intel/e1000e/ich8lan.c