diff options
author | David Decotigny <decot@google.com> | 2011-05-12 20:28:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-13 16:12:07 -0400 |
commit | 1334cb60826377de8f75adb9902c25302222f4fe (patch) | |
tree | 8e4e206a62b19ed2aa0f9c3a1e2370a46f6b1c7f /drivers/net/sonic.h | |
parent | 5310cbce900094dce5df4a671b411e15319a75d4 (diff) |
stmmac: don't go through ethtool to start auto-negotiation
The driver used to call phy's ethtool configuration routine to start
auto-negotiation. This change has it call directly phy's routine to
start auto-negotiation.
The initial version was hiding phy_start_aneg() return value,
this patch returns it (<0 upon error).
Tested: module compiles, tested on STM HDK7108 STB.
Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sonic.h')
0 files changed, 0 insertions, 0 deletions