]> asedeno.scripts.mit.edu Git - linux.git/commit
sh_eth: fix *enum* RPADIR_BIT
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 25 Jun 2018 20:36:21 +0000 (23:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 14:15:43 +0000 (23:15 +0900)
commitb13ca098fd35bb0cfbe027f2415a17a6ceb6f47f
tree4959420da17169c8eb77cae6fcc396395115fe78
parent2f533f6bd8300b11e8d941c9a8f51183a9d88c9c
sh_eth: fix *enum* RPADIR_BIT

The *enum*  RPADIR_BIT  was declared in the commit 86a74ff21a7a ("net:
sh_eth: add support for Renesas SuperH Ethernet") adding SH771x support,
however the SH771x manual doesn't have the RPADIR register described and,
moreover, tells why the padding insertion must not be used. The newer SoC
manuals do have RPADIR documented, though with somewhat different layout --
update the *enum* according to these manuals...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.h