sh_eth: define/use EESR_RX_CHECK macro
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 19 Jun 2013 19:29:23 +0000 (23:29 +0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 00:01:39 +0000 (17:01 -0700)
commitea7d69e75ac06daa7bc2fca2a8317197e5e3c81c
tree4a6fba52da0dbf87bc0468c0517066db9972f7d3
parentd98cae64e4a733ff377184d78aa0b1f2b54faede
sh_eth: define/use EESR_RX_CHECK macro

sh_eth_interrupt() uses the same Rx interrupt mask twice to check the interrupt
status register -- #define EESR_RX_CHECK  and use it instead.

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