Re: [PATCH 04/13] net: mvneta: enable suspend/resume support

2015-11-26 Thread Marcin Wojtas
Hi Gregory, >> + /* Reset link status */ >> + pp->link = 0; >> + pp->duplex = -1; >> + pp->speed = 0; >> + > > Would it be possible to add a kind of mvneta_port_power_down(pp, > pp->phy_interface) here ? It would allow to save power in standby mode > too. > Sure, I'll try it.

Re: [PATCH 04/13] net: mvneta: enable suspend/resume support

2015-11-25 Thread Gregory CLEMENT
Hi Marcin, On dim., nov. 22 2015, Marcin Wojtas wrote: > This commit introduces suspend/resume routines used for both in 'standby' > and 'mem' modes. For the latter, in which registers' contents are lost, > following steps are performed: > * in suspend - update port

[PATCH 04/13] net: mvneta: enable suspend/resume support

2015-11-21 Thread Marcin Wojtas
This commit introduces suspend/resume routines used for both in 'standby' and 'mem' modes. For the latter, in which registers' contents are lost, following steps are performed: * in suspend - update port statistics and, if interface is running, detach netif, clean the queues, disable cpu