From: Niklas Söderlund Date: Mon, 9 Jan 2017 15:34:09 +0000 (+0100) Subject: sh_eth: enable wake-on-lan for sh7763 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=267e1d5c7473cdb264c3153bf2adeb9d0c4bcae3;p=openwrt%2Fstaging%2Fblogic.git sh_eth: enable wake-on-lan for sh7763 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 4fdaa0400e4a..45a7a6ba7644 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -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 = {