sh_eth: enable wake-on-lan for r8a7740/armadillo
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 9 Jan 2017 15:34:07 +0000 (16:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 20:54:37 +0000 (15:54 -0500)
Geert Uytterhoeven reported WoL worked on his Armadillo board.

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

index 55274398b957ffa572057f8750c0ae89ff53aeb5..5700d0b7003974924d917dee29e9387dfe31f918 100644 (file)
@@ -576,6 +576,7 @@ static struct sh_eth_cpu_data r8a7740_data = {
        .hw_checksum    = 1,
        .tsu            = 1,
        .select_mii     = 1,
+       .magic          = 1,
 };
 
 /* There is CPU dependent code */