net: bfin_mac: do not reset PHY after phy_start()
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 6 Dec 2013 21:01:33 +0000 (13:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 01:38:59 +0000 (20:38 -0500)
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adi/bfin_mac.c

index 0d4f295798798b7ce8f80c5f3e10a84101e06d1b..c0f68dcd1dc125c422d4d1d084b331a01beee2b3 100644 (file)
@@ -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);