Re: [PATCH v3 1/2] ravb: add wake-on-lan support via magic packet

2017-08-01 Thread Sergei Shtylyov
Hello! On 08/01/2017 01:14 PM, Niklas Söderlund wrote: WoL is enabled in the suspend callback by setting MagicPacket detection and disabling all interrupts expect MagicPacket. In the resume path the driver needs to reset the hardware to rearm the WoL logic, this prevents the driver from simply

[PATCH v3 1/2] ravb: add wake-on-lan support via magic packet

2017-08-01 Thread Niklas Söderlund
WoL is enabled in the suspend callback by setting MagicPacket detection and disabling all interrupts expect MagicPacket. In the resume path the driver needs to reset the hardware to rearm the WoL logic, this prevents the driver from simply restoring the registers and to take advantage of that ravb