]> git.baikalelectronics.ru Git - kernel.git/commit
ravb: remove APSR_DM
authorSergey Shtylyov <s.shtylyov@omprussia.ru>
Wed, 6 Jan 2021 20:31:37 +0000 (23:31 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jan 2021 02:37:54 +0000 (18:37 -0800)
commit60ddd78dad7c190e829e0ad6da3def0ac8f9b4df
tree851e0918f0f874d212e7e9ac806f21c9dea411fc
parent869c8f3f8d6204179d26e27d10de763237361069
ravb: remove APSR_DM

According to the R-Car Series, 3rd Generation User's Manual: Hardware,
Rev. 1.50, there's no APSR.DM field, instead there are 2 independent
RX/TX clock internal delay bits. Follow the suit: remove #define APSR_DM
and rename #define's APSR_DM_{R|T}DM to APSR_{R|T}DM.

While at it, do several more things to the declaration of *enum* APSR_BIT:
- remove superfluous indentation;
- annotate APSR_MEMS as undocumented;
- annotate APSR as R-Car Gen3 only.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c