sh_eth: enable wake-on-lan for sh7734
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 9 Jan 2017 15:34:08 +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 sh7734 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 5700d0b7003974924d917dee29e9387dfe31f918..4fdaa0400e4ac6ecb00e4184433225df665facdc 100644 (file)
@@ -817,6 +817,7 @@ static struct sh_eth_cpu_data sh7734_data = {
        .tsu            = 1,
        .hw_checksum    = 1,
        .select_mii     = 1,
+       .magic          = 1,
 };
 
 /* SH7763 */