commit | 0c9eb5b931c3da3a79faa889b903dc7bd318203c | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Dec 06 13:01:38 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 09 20:38:59 2013 -0500 |
tree | bc291d4587494cd5419e672eaeb3e9682239c608 | |
parent | 01b0114e068480226bc22fea18c3bccbd815ce8b [diff] |
net: sh_eth: do not issue a wild PHY reset through BMCR The sh_eth driver issues an uncontrolled PHY reset through the MII register BMCR but fails to wait for the reset to complete, and will also implicitely wipe out all possible PHY fixups applied. Use phy_init_hw() which remedies both problems. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>