]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
sh_eth: fix TRSCER mask for R7S72100
authorSergey Shtylyov <s.shtylyov@omprussia.ru>
Sun, 28 Feb 2021 20:26:34 +0000 (23:26 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 17 Mar 2021 18:48:57 +0000 (13:48 -0500)
commit4d98fec3110671777a90cfa1c230df8f69b98fca
tree3a806b3dafd7a5bd5c81e937e19d29cce18ed1d3
parent6a89d56f00938a89ae789d51078bf1102bcee815
sh_eth: fix TRSCER mask for R7S72100

BugLink: https://bugs.launchpad.net/bugs/1919492
[ Upstream commit 75be7fb7f978202c4c3a1a713af4485afb2ff5f6 ]

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: db893473d313 ("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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/renesas/sh_eth.c