diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-12-06 22:01:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-10 02:38:59 +0100 |
commit | 78de53f05c58784e366b9115575058a5815c89d6 (patch) | |
tree | cbb2962e425dd04fbd72bba257c95c9457fd4058 /drivers/net/ethernet/toshiba | |
parent | net: mv643xx_eth: use phy_init_hw to reset PHY (diff) | |
download | linux-78de53f05c58784e366b9115575058a5815c89d6.tar.xz linux-78de53f05c58784e366b9115575058a5815c89d6.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/toshiba')
0 files changed, 0 insertions, 0 deletions