projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0528ce
)
net: bfin_mac: do not reset PHY after phy_start()
author
Florian Fainelli
<
[email protected]
>
Fri, 6 Dec 2013 21:01:33 +0000
(13:01 -0800)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/adi/bfin_mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/adi/bfin_mac.c
b/drivers/net/ethernet/adi/bfin_mac.c
index 0d4f295798798b7ce8f80c5f3e10a84101e06d1b..c0f68dcd1dc125c422d4d1d084b331a01beee2b3 100644
(file)
--- 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);