[PATCH] net: dm9000: Correctly handle empty FIFO
Tom Rini
trini at konsulko.com
Mon Aug 8 21:07:39 CEST 2022
On Mon, Apr 25, 2022 at 08:28:05PM +0200, Marek Vasut wrote:
> Assign packet pointer only in case the MAC reports anything in the FIFO.
> In case the MAC indicates empty FIFO, return 0 to pass that information
> to the network stack.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Ramon Fried <rfried.dev at gmail.com>
> Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220808/33c67fc5/attachment.sig>
More information about the U-Boot
mailing list