From: Florian Fainelli Date: Fri, 6 Dec 2013 21:01:33 +0000 (-0800) Subject: net: bfin_mac: do not reset PHY after phy_start() X-Git-Tag: v3.14-rc1~94^2~558^2~5 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=06d87cec73d883690f690e72da498e7f0334f9bc;p=~emulex%2Finfiniband.git net: bfin_mac: do not reset PHY after phy_start() The PHY is already reset during driver probing, and this manual reset after calling phy_start() will wipe out board-specific PHY fixups and driver specific configuration initialization. Remove that explicit PHY reset. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c index 0d4f2957987..c0f68dcd1dc 100644 --- a/drivers/net/ethernet/adi/bfin_mac.c +++ b/drivers/net/ethernet/adi/bfin_mac.c @@ -1557,7 +1557,6 @@ static int bfin_mac_open(struct net_device *dev) return ret; phy_start(lp->phydev); - phy_write(lp->phydev, MII_BMCR, BMCR_RESET); setup_system_regs(dev); setup_mac_addr(dev->dev_addr);