]> git.baikalelectronics.ru Git - kernel.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)
commit88901cb9cbef3f1ee802fdcc0e70c789537bd679
treeed41c6ede87fa6dcc71dfd7e2c4775fe9c0dd479
parentce1010762050356f3cc9af989f062505cb86238c
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