From: Florian Fainelli Date: Mon, 17 Feb 2014 21:34:02 +0000 (-0800) Subject: net: phy: move PHY software reset to genphy_soft_reset X-Git-Tag: v3.15-rc1~113^2~325^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=797ac07137d9ae8572008e21e6123a9ae17dae50;p=pandora-kernel.git net: phy: move PHY software reset to genphy_soft_reset As pointed out by Shaohui, this function is generic for 10/100/1000 PHYs, but 10G PHYs might have a slightly different reset sequence which prevents most of them from using this function. Move the BMCR_RESET based software resent sequence to genphy_soft_reset() in preparation for allowing PHY drivers to implement a soft_reset() callback. Reported-by: Shaohui Xie Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed