]> 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)
commit87921691d7dcb9b1be682605151bdd9302143450
treeb886e52cf59b93ac5f3f4317ad37d65990f21e55
parentca4fc7e7dc9531df3c3dcdb2f46011098721f879
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