]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ravb: Add aligned_tx to struct ravb_hw_info
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 18 Aug 2021 19:07:54 +0000 (20:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2021 11:05:15 +0000 (12:05 +0100)
commit68ca3c923213b908c14a673f6c3ec808664fae1f
tree2ac8fbd1a1a7abc7e15a858a7ca481541eef026b
parentebb091461a9e146f8afd750cb7eddc5b4c8d47be
ravb: Add aligned_tx to struct ravb_hw_info

R-Car Gen2 needs a 4byte aligned address for the transmission buffer,
whereas R-Car Gen3 doesn't have any such restriction.

Add aligned_tx to struct ravb_hw_info to select the driver to choose
between aligned and unaligned tx buffers.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c