On Thu, Oct 26, 2017 at 1:21 AM, Florian Fainelli <f.faine...@gmail.com> wrote: > Commit 2aa70f864955 ("net: smsc911x: Quieten netif during suspend") > addressed the network device parts of the suspend/resume process, but > this is not enough, we can also need to manage the PHY state machine > during suspend. > > Because Geert indicated that we are going to cut the power to the block, > we need the hard synchronization that phy_stop_machine() guarantees, > conversely use phy_start_machine() to resume properly. > > There appears to be a desire to enable Wake-on-LAN, which is obviously > dependent on the PHY not being suspend, so we don't suspend it. A future > patch should probably add proper support for turning on/off Wake-on-LAN > on a PHY activity/password etc. basis. > > Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Reviewed-and-tested-by: Geert Uytterhoeven <geert+rene...@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds