diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-01-04 15:11:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-04 21:47:55 +0300 |
commit | 9b39f05ce8e0cf2857c37b72c0b3b92e6a026ed5 (patch) | |
tree | b886e52cf59b93ac5f3f4317ad37d65990f21e55 /drivers/net/ethernet/renesas/sh_eth.h | |
parent | 1940f240769ada7efe9d459991fe5dd80db3771a (diff) | |
download | linux-9b39f05ce8e0cf2857c37b72c0b3b92e6a026ed5.tar.xz |
sh_eth: factor out sh_eth_emac_interrupt()
The E-MAC interrupt (EESR.ECI) is not always caused by an error condition,
so it really shouldn't be handled by sh_eth_error(). Factor out the E-MAC
interrupt handler, sh_eth_emac_interrupt(), removing the ECI bit from the
EESR's values throughout the driver...
Update Cogent Embedded's copyright and clean up the whitespace in Renesas'
copyright, while at it...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h index d050f37f3e0f..9eec1e185adf 100644 --- a/drivers/net/ethernet/renesas/sh_eth.h +++ b/drivers/net/ethernet/renesas/sh_eth.h @@ -265,7 +265,7 @@ enum EESR_BIT { EESR_RTO) #define DEFAULT_EESR_ERR_CHECK (EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE | \ EESR_RDE | EESR_RFRMER | EESR_ADE | \ - EESR_TFE | EESR_TDE | EESR_ECI) + EESR_TFE | EESR_TDE) /* EESIPR */ enum DMAC_IM_BIT { |