Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92c476c8 authored by Sergey Shtylyov's avatar Sergey Shtylyov Committed by Greg Kroah-Hartman
Browse files

sh_eth: fix TRSCER mask for R7S9210



commit 165bc5a4f30eee4735845aa7dbd6b738643f2603 upstream.

According  to the RZ/A2M Group User's Manual: Hardware, Rev. 2.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 R7S9210.

Fixes: 6e0bb04d ("sh_eth: Add R7S9210 support")
Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49f3cfae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -825,6 +825,8 @@ static struct sh_eth_cpu_data r7s9210_data = {

	.fdr_value	= 0x0000070f,

	.trscer_err_mask = DESC_I_RINT8 | DESC_I_RINT5,

	.apr		= 1,
	.mpr		= 1,
	.tpauser	= 1,