[PATCHv2 4/5] sh_eth: enable wake-on-lan for sh7743

2016-12-12 Thread Niklas Söderlund
This is based on public datasheet for sh7743 which shows it have the
same behavior and registers for WoL as other versions of sh_eth.

Signed-off-by: Niklas Söderlund 
---
 drivers/net/ethernet/renesas/sh_eth.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/renesas/sh_eth.c 
b/drivers/net/ethernet/renesas/sh_eth.c
index fafde6f..927de77 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -822,6 +822,7 @@ static struct sh_eth_cpu_data sh7734_data = {
.tsu= 1,
.hw_crc = 1,
.select_mii = 1,
+   .magic  = 1,
 };
 
 /* SH7763 */
-- 
2.10.2



Re: [PATCHv2 4/5] sh_eth: enable wake-on-lan for sh7743

2016-12-13 Thread Geert Uytterhoeven
On Mon, Dec 12, 2016 at 5:09 PM, Niklas Söderlund
 wrote:
> This is based on public datasheet for sh7743 which shows it have the

sh7734 (also in the one-line summary)
it has

> same behavior and registers for WoL as other versions of sh_eth.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds