ravb: remove undocumented counter processing
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 5 Sep 2019 15:10:57 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2019 14:46:09 +0000 (16:46 +0200)
commit009a470365b37106bbd66f1e1a53bc6c3c0072bc
treeb5a0429b3cae1fbc90dd854f8c803dea60be464c
parent845e4b8014a58c23530aa4a7f3187ac13d487530
ravb: remove undocumented counter processing

This patch removes the use of the undocumented counter registers
CDCR, LCCR, CERCR, CEECR.

Offsets used for 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 but regardless of
what the historical reasons are the current code is considered incorrect.

Based on work by Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c