Skip to content

Commit

Permalink
sh_eth: fix TRSCER mask for R7S72100
Browse files Browse the repository at this point in the history
[ Upstream commit 75be7fb ]

According  to  the RZ/A1H Group, RZ/A1M Group User's Manual: Hardware,
Rev. 4.00, the TRSCER register has bit 9 reserved, hence we can't use
the driver's default TRSCER mask.  Add the explicit initializer for
sh_eth_cpu_data::trscer_err_mask for R7S72100.

Fixes: db89347 ("sh_eth: Add support for r7s72100")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Sergey Shtylyov authored and gregkh committed Mar 17, 2021
1 parent 7af661b commit c9dc6f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/renesas/sh_eth.c
Expand Up @@ -560,6 +560,8 @@ static struct sh_eth_cpu_data r7s72100_data = {
EESR_TDE,
.fdr_value = 0x0000070f,

.trscer_err_mask = DESC_I_RINT8 | DESC_I_RINT5,

.no_psr = 1,
.apr = 1,
.mpr = 1,
Expand Down

0 comments on commit c9dc6f4

Please sign in to comment.