WSL2-Linux-Kernel/drivers/net/ethernet/arc
Alexander Kochetkov b18b745397 net: arc_emac: switch to phy_start()/phy_stop()
Currently driver use phy_start_aneg() in arc_emac_open() to bring
up PHY. But phy_start() function is more appropriate for this purposes.
Besides that it call phy_start_aneg() as part of PHY startup sequence
it also can correctly bring up PHY from error and suspended states.
So the patch replace phy_start_aneg() to phy_start().

Also the patch add call to phy_stop() to arc_emac_stop() to allow
the PHY device to be fully suspended when the interface is unused.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-21 15:23:52 -04:00
..
Kconfig net: arc_emac: add dependencies on associated arches and compile test 2016-11-29 18:57:36 -05:00
Makefile ethernet: arc: Add support for Rockchip SoC layer device tree bindings 2014-09-09 17:29:59 -07:00
emac.h net: ethernet: arc: emac: use phydev from struct net_device 2016-07-04 15:59:52 -07:00
emac_arc.c net: arc: Fix module autoload for OF platform driver 2015-09-21 16:08:20 -07:00
emac_main.c net: arc_emac: switch to phy_start()/phy_stop() 2017-04-21 15:23:52 -04:00
emac_mdio.c net: arc_emac: mark arc_mdio_reset() static 2016-09-06 15:58:59 -07:00
emac_rockchip.c net: arc: trivial: cleanup the emac driver 2016-03-16 19:28:01 -04:00