[U-Boot] [PATCH] smsc95xx: Use zero length packets when RX fifo is empty

Joe Hershberger joe.hershberger at gmail.com
Tue Sep 8 15:56:12 CEST 2015


On Mon, Sep 7, 2015 at 10:12 PM, Stefan Brüns
<stefan.bruens at rwth-aachen.de> wrote:
> Using NAKs on empty RX fifo for bulk in transfers is the right choice
> for a interrupt driven model, but U-Boot uses polling and expects an
> immediate answer if there is no incoming packet. Using ZLP Bulk In Response
> (BIR) mode avoids unexpected timeouts in the host controller driver.
>
> As ZLP mode is reset default, there is no need to set it.
>
> Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>

LGTM.

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list