From: Florian Fainelli Date: Wed, 12 Feb 2014 01:27:37 +0000 (-0800) Subject: net: phy: allow driver to implement their own aneg_done X-Git-Tag: v3.15-rc1~113^2~379 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a423a3f8f16bfc7fb86360a620be18c775b94d;p=pandora-kernel.git net: phy: allow driver to implement their own aneg_done Some PHYs out there can be very quirky with respect to how they would report the auto-negotiation is completed. Allow drivers to override the generic aneg_done() implementation by providing their own. Since not all drivers have been updated yet to use genphy_aneg_done() as aneg_done() callback, we explicitely check that this callback is valid before calling into it. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed