aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-31 03:42:11 -0400
committerDavid S. Miller <davem@davemloft.net>2013-07-31 17:52:14 -0400
commitba361cb3d4c977e2b94b5d97905f66b4d48964de (patch)
treecabd141d46ee1a13900a212ec7fd5a69d560ae77 /drivers/net/ethernet/renesas
parent5e24f74b6c21aba204e861a282880d6ac6cc27c0 (diff)
sh_eth: r8a7790: Handle the RFE (Receive FIFO overflow Error) interrupt
The RFE interrupt is enabled for the r8a7790 but isn't handled, resulting in the interrupts core noticing unhandled interrupts, and eventually disabling the ethernet IRQ. Fix it by adding RFE to the bitmask of error interrupts to be handled for r8a7790. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index fedc0a05b218..9e2afe8e0c9f 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -403,8 +403,9 @@ static struct sh_eth_cpu_data r8a7790_data = {
403 .eesipr_value = 0x01ff009f, 403 .eesipr_value = 0x01ff009f,
404 404
405 .tx_check = EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO, 405 .tx_check = EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO,
406 .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RDE | 406 .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE |
407 EESR_RFRMER | EESR_TFE | EESR_TDE | EESR_ECI, 407 EESR_RDE | EESR_RFRMER | EESR_TFE | EESR_TDE |
408 EESR_ECI,
408 409
409 .apr = 1, 410 .apr = 1,
410 .mpr = 1, 411 .mpr = 1,