From: Florian Fainelli Date: Mon, 17 Feb 2014 21:34:03 +0000 (-0800) Subject: net: phy: allow PHY drivers to implement their own software reset X-Git-Tag: v3.15-rc1~113^2~325^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9df81dd7583d14862d0cfb673a941b261f3b2112;p=pandora-kernel.git net: phy: allow PHY drivers to implement their own software reset As pointed out by Shaohui, most 10G PHYs out there have a non-standard compliant software reset sequence, eventually something much more complex than just toggling the BMCR_RESET bit. Allow PHY driver to implement their own soft_reset() callback to deal with that. If no callback is provided, call into genphy_soft_reset() which makes sure the existing behavior is kept intact. Reported-by: Shaohui Xie Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed