lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJ2oMh+zE4_dron1mJOCmUYhdqpGxy-_DCN9T0Avw0vqUigWHw@mail.gmail.com>
Date:	Fri, 6 Mar 2015 11:16:55 +0200
From:	Ran Shalit <ranshalit@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: smsc911x driver - suspend/resume

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ