summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/adi/bfin_mac.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-12-06 22:01:33 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-10 02:38:59 +0100
commit06d87cec73d883690f690e72da498e7f0334f9bc (patch)
tree5d7e6834f627a6fa7b01f9a895c4718d8f8d44dc /drivers/net/ethernet/adi/bfin_mac.c
parentnet: greth: use phy_read_status() (diff)
downloadlinux-06d87cec73d883690f690e72da498e7f0334f9bc.tar.xz
linux-06d87cec73d883690f690e72da498e7f0334f9bc.zip
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>
Diffstat (limited to 'drivers/net/ethernet/adi/bfin_mac.c')
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 0d4f29579879..c0f68dcd1dc1 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);