sh_eth: enable wake-on-lan for sh7763
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 9 Jan 2017 15:34:09 +0000 (16:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 20:55:08 +0000 (15:55 -0500)
This is based on public datasheet for sh7763 which shows it has the
same behavior and registers for WoL as other versions of sh_eth.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c

index 4fdaa0400e4ac6ecb00e4184433225df665facdc..45a7a6ba76449513369440a88198e8a52cd77849 100644 (file)
@@ -845,6 +845,7 @@ static struct sh_eth_cpu_data sh7763_data = {
        .no_ade         = 1,
        .tsu            = 1,
        .irq_flags      = IRQF_SHARED,
+       .magic          = 1,
 };
 
 static struct sh_eth_cpu_data sh7619_data = {