]> git.baikalelectronics.ru Git - kernel.git/commit
ravb: Factorise ravb_rx function
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 25 Aug 2021 07:01:49 +0000 (08:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 10:18:17 +0000 (11:18 +0100)
commitd5d95c11365bc880669bbc52786b176cf60dcd92
tree70dd234eb0933ad4cd79938132bf8fcfec4902f7
parent7870a41848abf8ae634e2de54effbbf32d2a472d
ravb: Factorise ravb_rx function

R-Car uses an extended descriptor in RX whereas, RZ/G2L uses
normal descriptor in RX. Factorise the ravb_rx function to
support the later SoC.

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