Messages in this thread | | | Date | Fri, 6 Mar 2015 11:16:55 +0200 | Subject | smsc911x driver - suspend/resume | From | Ran Shalit <> |
| |
Hello,
I try to figure out when the resume function is called in smsc911x driver: http://lxr.free-electrons.com/source/drivers/net/ethernet/smsc/smsc911x.c According to datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/9220.pdf There is the following sequence: 1. host set mode to D1 (sleep, WOL) 2. smsc wakes and through PME interrupt 3. host should set mode to D0 (in order to get to normal operation).
I see that resume is doing stage (3) above, but I don't see how (2) is done, is it that resume is automatically called whenever there is interrupt ?
Thank you, Ran
| |