All of lore.kernel.org
 help / color / mirror / Atom feed
* smsc911x suspend/resume
@ 2010-02-08  9:42 ` Mike Rapoport
  0 siblings, 0 replies; 27+ messages in thread
From: Mike Rapoport @ 2010-02-08  9:42 UTC (permalink / raw)
  To: Steve Glendinning; +Cc: netdev, LAKML

Hi all,
I'm trying to make suspend/resume work on OMAP3-based system and I'm
encountering issues with resume of SMSC 9220 chip.
After resume the interface is unusable unless I do 'ifconfig eth0 down'
and 'ifconfig eth0 up'.
I would expect that 'ping <some host>' would work right after resume
without need to bring the interface down and up, but probably I miss
something.
Any help would be appreciated.

-- 
Sincerely yours,
Mike.


^ permalink raw reply	[flat|nested] 27+ messages in thread
* smsc911x suspend/resume
@ 2015-03-06  9:16 Ran Shalit
  0 siblings, 0 replies; 27+ messages in thread
From: Ran Shalit @ 2015-03-06  9:16 UTC (permalink / raw)
  To: linux-pm

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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2015-03-06  9:16 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08  9:42 smsc911x suspend/resume Mike Rapoport
2010-02-08  9:42 ` Mike Rapoport
2010-02-08 10:11 ` Daniel Mack
2010-02-08 10:11   ` Daniel Mack
2010-02-08 11:30   ` Mike Rapoport
2010-02-08 11:30     ` Mike Rapoport
2010-02-08 11:46     ` Daniel Mack
2010-02-08 11:46       ` Daniel Mack
2010-02-08 14:42       ` Mike Rapoport
2010-02-08 14:42         ` Mike Rapoport
2010-02-08 14:49         ` Daniel Mack
2010-02-08 14:49           ` Daniel Mack
2010-02-08 15:10           ` Mike Rapoport
2010-02-08 15:10             ` Mike Rapoport
2010-02-11 18:26           ` Steve.Glendinning
2010-02-11 18:26             ` Steve.Glendinning at smsc.com
2010-02-14  9:01             ` mike
2010-02-14  9:01               ` mike at compulab.co.il
2010-02-08 11:46     ` Steve.Glendinning
2010-02-08 11:46       ` Steve.Glendinning at smsc.com
2010-02-08 11:53       ` Daniel Mack
2010-02-08 11:53         ` Daniel Mack
2010-02-08 12:27         ` Steve.Glendinning
2010-02-08 12:27           ` Steve.Glendinning at smsc.com
2010-02-08 13:55       ` Mike Rapoport
2010-02-08 13:55         ` Mike Rapoport
2015-03-06  9:16 Ran Shalit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.