From: Laurent Pinchart Date: Wed, 31 Jul 2013 07:42:11 +0000 (+0900) Subject: sh_eth: r8a7790: Handle the RFE (Receive FIFO overflow Error) interrupt X-Git-Tag: v5.15~19424^2~415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba361cb3d4c977e2b94b5d97905f66b4d48964de;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Simon Horman 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 fedc0a0..9e2afe8 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 = { .eesipr_value = 0x01ff009f, .tx_check = EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO, - .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RDE | - EESR_RFRMER | EESR_TFE | EESR_TDE | EESR_ECI, + .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE | + EESR_RDE | EESR_RFRMER | EESR_TFE | EESR_TDE | + EESR_ECI, .apr = 1, .mpr = 1,