sh_eth: remove redundant bits from 'eesipr_value' field initializer
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 19 Jun 2013 22:24:54 +0000 (02:24 +0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 00:01:39 +0000 (17:01 -0700)
For SH7724 'eesipr_value' field initializer includes DMAC_M_RFRMER & DMAC_M_ECI
bits which are already contained in 0x01ff009f -- remove them.

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

index 9a8b24e513ca21bc47e2eef2bfcf4f757a49199c..4b4c586d2c4f503ddd3fc4c8e3a585a1b9fc0af9 100644 (file)
@@ -414,7 +414,7 @@ static struct sh_eth_cpu_data sh7724_data = {
 
        .ecsr_value     = ECSR_PSRTO | ECSR_LCHNG | ECSR_ICD,
        .ecsipr_value   = ECSIPR_PSRTOIP | ECSIPR_LCHNGIP | ECSIPR_ICDIP,
-       .eesipr_value   = DMAC_M_RFRMER | DMAC_M_ECI | 0x01ff009f,
+       .eesipr_value   = 0x01ff009f,
 
        .tx_check       = EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO,
        .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RDE |