e1000e: reset PHY after errors detected
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 28 Oct 2010 00:59:53 +0000 (00:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 17:18:59 +0000 (10:18 -0700)
commitff10e13cd06f3dbe90e9fffc3c2dd2057a116e4b
tree673e0bf9ad8a7b78cc646e0c90cb390378202f2c
parent116c1ea0aa871a2d6554e7fae124fc2880a596c1
e1000e: reset PHY after errors detected

Some errors can be induced in the PHY via environmental testing
(specifically extreme temperature changes and electro static
discharge testing), and in the case of the PHY hanging due to
this input, this detects the problem and resets to continue.
This issue only applies to 82574 silicon.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c
drivers/net/e1000e/e1000.h
drivers/net/e1000e/netdev.c