On 9/23/21 9:05 PM, Sergey Shtylyov wrote:
Somehow this patch haven't reached my OMP email -- I got it only thru
the linux-renesas-soc list... :-/
quoted
RZ/G2L need 4byte address alignment like R-Car Gen2 and
it has tx_counters like R-Car Gen3. This patch enable
these features for RZ/G2L.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
[...]
quoted
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c
index 54c4d31a6950..d38fc33a8e93 100644
--- a/drivers/net/ethernet/renesas/ravb_main.c
+++ b/drivers/net/ethernet/renesas/ravb_main.c
@@ -2114,6 +2114,8 @@ static const struct ravb_hw_info rgeth_hw_info = {
.set_feature = ravb_set_features_rgeth,
.dmac_init = ravb_dmac_init_rgeth,
.emac_init = ravb_rgeth_emac_init,
+ .aligned_tx = 1,
+ .tx_counters = 1,
Mhm, I don't see a connection between those 2 (other than they're both for RX). And anyway, this prolly
TX, of/c. :-)
should be a part of the previous patch...
[...]
MBR, Sergey