| From c387506d71ab35dc7ca5ab088224a6ea688a7aa9 Mon Sep 17 00:00:00 2001 |
| From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= |
| <niklas.soderlund+renesas@ragnatech.se> |
| Date: Mon, 9 Jan 2017 16:34:09 +0100 |
| Subject: [PATCH 134/255] sh_eth: enable wake-on-lan for sh7763 |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| 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> |
| (cherry picked from commit 267e1d5c7473cdb264c3153bf2adeb9d0c4bcae3) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/net/ethernet/renesas/sh_eth.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- 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_dat |
| .no_ade = 1, |
| .tsu = 1, |
| .irq_flags = IRQF_SHARED, |
| + .magic = 1, |
| }; |
| |
| static struct sh_eth_cpu_data sh7619_data = { |