diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2011-01-06 14:29:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-09 23:44:09 -0800 |
commit | 31dbe5b4ac6fca72dec946e4d0fa7f0913f1d9b1 (patch) | |
tree | 8774e4836c881a7a2c18ddb02f253b66c82aec6c /drivers/net/wireless/iwmc3200wifi/sdio.h | |
parent | fe46f58fa61f025564a3c1e80b789885cb4b0f30 (diff) | |
download | blackbird-op-linux-31dbe5b4ac6fca72dec946e4d0fa7f0913f1d9b1.tar.gz blackbird-op-linux-31dbe5b4ac6fca72dec946e4d0fa7f0913f1d9b1.zip |
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>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/sdio.h')
0 files changed, 0 insertions, 0 deletions