瀏覽代碼

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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Florian Fainelli 11 年之前
父節點
當前提交
06d87cec73
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/ethernet/adi/bfin_mac.c

+ 0 - 1
drivers/net/ethernet/adi/bfin_mac.c

@@ -1557,7 +1557,6 @@ static int bfin_mac_open(struct net_device *dev)
 		return ret;
 		return ret;
 
 
 	phy_start(lp->phydev);
 	phy_start(lp->phydev);
-	phy_write(lp->phydev, MII_BMCR, BMCR_RESET);
 	setup_system_regs(dev);
 	setup_system_regs(dev);
 	setup_mac_addr(dev->dev_addr);
 	setup_mac_addr(dev->dev_addr);