Re: [PATCH 3/3] sh_eth: factor out sh_eth_emac_interrupt()

2017-01-04 Thread Sergei Shtylyov
On 01/04/2017 03:11 PM, Sergei Shtylyov wrote: 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 throughou

Re: [PATCH 3/3] sh_eth: factor out sh_eth_emac_interrupt()

2017-01-04 Thread Sergei Shtylyov
On 01/04/2017 03:13 PM, Sergei Shtylyov wrote: 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 throughou

[PATCH 3/3] sh_eth: factor out sh_eth_emac_interrupt()

2017-01-04 Thread Sergei Shtylyov
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 copyrigh