linux/drivers/net/e1000e
Bruce Allan 31dbe5b4ac e1000e: power off PHY after reset when interface is down
Some Phys supported by the driver do not remain powered off across a reset
of the device when the interface is down, e.g. on 82571, but not on 82574.
This patch powers down (only when WoL is disabled) the PHY after a reset if
the interface is down and the ethtool diagnostics are not currently running.

The ethtool diagnostic function required a minor re-factor as a result, and
the e1000_[get|put]_hw_control() functions are renamed since they are no
longer static to netdev.c as they are needed by the ethtool diagnostics.
A couple minor whitespace issues were cleaned up, too.

Reported-by: Arthur Jones <ajones@riverbed.com>
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-09 23:44:09 -08:00
..
82571.c e1000e: cleanup variables set but not used 2011-01-09 23:44:06 -08:00
defines.h e1000e: support new PBA format from EEPROM 2010-12-10 22:13:37 -08:00
e1000.h e1000e: power off PHY after reset when interface is down 2011-01-09 23:44:09 -08:00
es2lan.c e1000e: cleanup variables set but not used 2011-01-09 23:44:06 -08:00
ethtool.c e1000e: power off PHY after reset when interface is down 2011-01-09 23:44:09 -08:00
hw.h e1000e: 82579 unaccounted missed packets 2010-09-22 20:41:20 -07:00
ich8lan.c e1000e: use either_crc_le() rather than re-write it 2011-01-09 23:44:08 -08:00
lib.c e1000e: convert calls of ops.[read|write]_reg to e1e_[r|w]phy 2011-01-09 23:44:07 -08:00
Makefile
netdev.c e1000e: power off PHY after reset when interface is down 2011-01-09 23:44:09 -08:00
param.c e1000e: minor error message corrections 2010-12-10 22:13:46 -08:00
phy.c e1000e: convert calls of ops.[read|write]_reg to e1e_[r|w]phy 2011-01-09 23:44:07 -08:00