From: David Decotigny Date: Thu, 12 May 2011 20:28:04 +0000 (+0000) Subject: stmmac: don't go through ethtool to start auto-negotiation X-Git-Tag: v3.0-rc1~377^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1334cb60826377de8f75adb9902c25302222f4fe;p=pandora-kernel.git 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 Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed