OpenCloudOS-Kernel/drivers/net/ethernet/renesas
Simon Horman fd8ab76a85 ravb: TROCR register is only present on R-Car Gen3
Only use the TROCR register on R-Car Gen3 as it is not present on other
SoCs.

Offsets used for the undocumented registers are considered reserved and
should not be written to. After some internal investigation with Renesas it
remains unclear why this driver accesses these fields on R-Car Gen2 but
regardless of what the historical reasons are the current code is
considered incorrect.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-06 16:46:10 +02:00
..
Kconfig ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
Makefile ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
ravb.h ravb: TROCR register is only present on R-Car Gen3 2019-09-06 16:46:10 +02:00
ravb_main.c ravb: TROCR register is only present on R-Car Gen3 2019-09-06 16:46:10 +02:00
ravb_ptp.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
sh_eth.c net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs 2019-05-29 13:24:54 -07:00
sh_eth.h sh_eth: RX checksum offload support 2019-02-04 13:31:00 -08:00