David Decotigny 1334cb6082 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>
2011-05-13 16:12:07 -04:00
..
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2011-03-31 11:26:23 -03:00