]> git.baikalelectronics.ru Git - kernel.git/commit
net: tc35815: use phy_init_hw for PHY reset
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 6 Dec 2013 21:01:37 +0000 (13:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 01:38:59 +0000 (20:38 -0500)
commitda6e79035f0a6de7b4bfbebda32803a99420d779
tree875c96b0ed05a6b355340d94c3b62e54a3e05ef4
parent2ee26008b84a1b22a4c2b26b394113daf7fabb99
net: tc35815: use phy_init_hw for PHY reset

Instead of open-coding the PHY reset through MII BMCR, use phy_init_hw()
which does that for us and also makes sure that any PHY specific fixups
are applied.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/tc35815.c