From: Florian Fainelli Date: Fri, 6 Dec 2013 21:01:35 +0000 (-0800) Subject: net: mv643xx_eth: use phy_init_hw to reset PHY X-Git-Tag: v3.14-rc1~94^2~558^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cd1463664c2a15721ff4ccfb61d4d970815cb3d;p=pandora-kernel.git net: mv643xx_eth: use phy_init_hw to reset PHY Instead of open-coding a PHY reset through the MII BMCR register, use phy_init_hw() which does that for us and will also make sure that PHY fixups are applied if required. We also remove a call to phy_reset() due to the following sequence of calls in the driver: phy_scan() -> phy_connect() -> phy_connect_direct() -> phy_attach_direct() -> phy_init_hw() and we only have a call to phy_init() after phy_scan(). Signed-off-by: Florian Fainelli Tested-by: Sebastian Hesselbarth Signed-off-by: David S. Miller --- Reading git-diff-tree failed