diff options
author | Ed Swierk <eswierk@aristanetworks.com> | 2009-06-02 00:19:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-02 00:19:52 -0700 |
commit | 5a9a8e32ebe269c71d8d3e78f9435fe7729f38e9 (patch) | |
tree | 37d22a060fd62528d028cba40b2278c289736cea /drivers/net/spider_net_ethtool.c | |
parent | fc23ffe075365d2f21b1046048ad0d342bbb41be (diff) |
forcedeth: add phy_power_down parameter, leave phy powered up by default (v2)
Add a phy_power_down parameter to forcedeth: set to 1 to power down the
phy and disable the link when an interface goes down; set to 0 to always
leave the phy powered up.
The phy power state persists across reboots; Windows, some BIOSes, and
older versions of Linux don't bother to power up the phy again, forcing
users to remove all power to get the interface working (see
http://bugzilla.kernel.org/show_bug.cgi?id=13072). Leaving the phy
powered on is the safest default behavior. Users accustomed to seeing
the link state reflect the interface state and/or wanting to minimize
power consumption can set phy_power_down=1 if compatibility with other
OSes is not an issue.
Signed-off-by: Ed Swierk <eswierk@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/spider_net_ethtool.c')
0 files changed, 0 insertions, 0 deletions