diff options
author | 2011-05-12 20:28:04 +0000 | |
---|---|---|
committer | 2011-05-13 16:12:07 -0400 | |
commit | 1334cb60826377de8f75adb9902c25302222f4fe (patch) | |
tree | 8e4e206a62b19ed2aa0f9c3a1e2370a46f6b1c7f /net/core | |
parent | drivers/isdn/hisax: Drop unused list (diff) | |
download | linux-dev-1334cb60826377de8f75adb9902c25302222f4fe.tar.xz linux-dev-1334cb60826377de8f75adb9902c25302222f4fe.zip |
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 'net/core')
0 files changed, 0 insertions, 0 deletions