netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/5] sh_eth: add wake-on-lan support via magic packet
@ 2016-12-12 16:09 Niklas Söderlund
  2016-12-12 16:09 ` [PATCHv2 1/5] sh_eth: add generic " Niklas Söderlund
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Niklas Söderlund @ 2016-12-12 16:09 UTC (permalink / raw)
  To: Sergei Shtylyov, Simon Horman, netdev, linux-renesas-soc
  Cc: Geert Uytterhoeven, Niklas Söderlund

Hi,

This series adds support for Wake-on-Lan using Magic Packet for a few 
models of the sh_eth driver. Patch 1/5 adds generic support to control 
and support WoL while patches 2/5 - 5/5 enable different models.

Changes since v1.
- Spit generic WoL functionality and device enablement to different 
  patches.
- Enable more devices then Gen2 after feedback from Geert and 
  datasheets.
- Do not set mdp->irq_enabled = false and remove specific MagicPacket 
  interrupt clearing, instead let sh_eth_error() clear the interrupt as 
  for other EMAC interrupts, thanks Sergei for the suggestion.
- Use the original return logic in sh_eth_resume().
- Moved sh_eth_private variable *clk to top of data structure  to avoid 
  possible gaps due to alignment restrictions.
- Make wol_enabled in sh_eth_private part of the already existing 
  bitfield instead of a bool.
- Do not initiate mdp->wol_enabled to 0, the struct is kzalloc'ed so 
  it's already set to 0.

Niklas Söderlund (5):
  sh_eth: add generic wake-on-lan support via magic packet
  sh_eth: enable wake-on-lan for Gen2 devices
  sh_eth: enable wake-on-lan for r8a7740/armadillo
  sh_eth: enable wake-on-lan for sh7743
  sh_eth: enable wake-on-lan for sh7763

 drivers/net/ethernet/renesas/sh_eth.c | 121 +++++++++++++++++++++++++++++++---
 drivers/net/ethernet/renesas/sh_eth.h |   3 +
 2 files changed, 114 insertions(+), 10 deletions(-)

-- 
2.10.2

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

end of thread, other threads:[~2016-12-24 21:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-12 16:09 [PATCHv2 0/5] sh_eth: add wake-on-lan support via magic packet Niklas Söderlund
2016-12-12 16:09 ` [PATCHv2 1/5] sh_eth: add generic " Niklas Söderlund
2016-12-13 13:03   ` Geert Uytterhoeven
2016-12-13 16:27     ` Niklas Söderlund
2016-12-17 21:50   ` Sergei Shtylyov
2016-12-19 16:41     ` Niklas Söderlund
2016-12-19 16:56       ` Sergei Shtylyov
2016-12-18 20:26   ` Sergei Shtylyov
2016-12-19 16:39     ` Niklas Söderlund
2016-12-19 17:11       ` Geert Uytterhoeven
2016-12-24 21:53         ` Sergei Shtylyov
2016-12-12 16:09 ` [PATCHv2 2/5] sh_eth: enable wake-on-lan for Gen2 devices Niklas Söderlund
2016-12-13 12:52   ` Geert Uytterhoeven
2016-12-14 13:37   ` Sergei Shtylyov
2016-12-17 21:52     ` Sergei Shtylyov
2016-12-12 16:09 ` [PATCHv2 3/5] sh_eth: enable wake-on-lan for r8a7740/armadillo Niklas Söderlund
2016-12-13 12:51   ` Geert Uytterhoeven
2016-12-12 16:09 ` [PATCHv2 4/5] sh_eth: enable wake-on-lan for sh7743 Niklas Söderlund
2016-12-13 10:59   ` Geert Uytterhoeven
2016-12-12 16:09 ` [PATCHv2 5/5] sh_eth: enable wake-on-lan for sh7763 Niklas Söderlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).