]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ravb: Use the max frame size from hardware info for RZ/G2L
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 4 Mar 2024 11:08:56 +0000 (12:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2024 11:23:21 +0000 (11:23 +0000)
commit496863388136bcba95298ab7dacaf55489af2b02
tree9f7ef332f3259b14a1e7d630f126c9a312940e93
parentcfbad64706c1c9d555fba5dbb545967262bd9f17
ravb: Use the max frame size from hardware info for RZ/G2L

Remove the define describing the RZ/G2L maximum frame size and only use
the information in the hardware information struct. This will make it
easier to merge the R-Car and RZ/G2L code paths.

There is no functional change as both the define and the maximum frame
length in the hardware information is set to 8K.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c