commit | 78de53f05c58784e366b9115575058a5815c89d6 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Dec 06 13:01:36 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 09 20:38:59 2013 -0500 |
tree | cbb2962e425dd04fbd72bba257c95c9457fd4058 | |
parent | 7cd1463664c2a15721ff4ccfb61d4d970815cb3d [diff] |
net: pxa168_eth: use phy_init_hw for PHY reset Instead of open-coding a PHY reset through the MII BMCR register, use phy_init_hw() which does this for us and ensures that PHY device fixups are also applied. We also remove a call to ethernet_phy_reset() which is now unncessary since phy_attach() calls phy_attach_direct() which in turns calls phy_init_hw(). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>