]> git.baikalelectronics.ru Git - kernel.git/commit
ravb: remove undocumented endianness selection
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 5 Sep 2019 15:10:58 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2019 14:46:09 +0000 (16:46 +0200)
commitd315f5f7d3082bbe64d58b3e7a4dc35c0089c7bf
treec4687a5d98bc7b8b95873bb32c8d4e83c29a5428
parent2baaa6634ca720354f6802630a108358a54d04a4
ravb: remove undocumented endianness selection

This patch removes the use of the undocumented BOC bit of the CCC register.

Current documentation for EtherAVB (ravb) describes the offset of what the
driver uses as the BOC bit as reserved and that only a value of 0 should be
written. 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