]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: factor out sh_eth_emac_interrupt()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 4 Jan 2017 12:11:21 +0000 (15:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2017 18:47:55 +0000 (13:47 -0500)
commit631f8cdcbddbca4d932671aa2ddf28b2e0c1931d
treeb886e52cf59b93ac5f3f4317ad37d65990f21e55
parent7b86a62701b2d0d312b0c8bd4c16d4c3eab509e2
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>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h