[PATCH net v4 3/3] net: stmmac: Specify hardware capability value when FIFO size isn't specified
Yanteng Si
si.yanteng at linux.dev
Mon Jan 27 10:24:40 PST 2025
在 1/27/25 09:38, Kunihiko Hayashi 写道:
> When Tx/Rx FIFO size is not specified in advance, the driver checks if
> the value is zero and sets the hardware capability value in functions
> where that value is used.
>
> Consolidate the check and settings into function stmmac_hw_init() and
> remove redundant other statements.
>
> If FIFO size is zero and the hardware capability also doesn't have upper
> limit values, return with an error message.
>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
Reviewed-by: Yanteng Si <si.yanteng at linux.dev>
Thanks,
Yanteng
More information about the linux-arm-kernel
mailing list