]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not attempt to refill the TX fifo if there is no data left to transfer.
authorian <ian@FreeBSD.org>
Mon, 18 Dec 2017 02:34:37 +0000 (02:34 +0000)
committerian <ian@FreeBSD.org>
Mon, 18 Dec 2017 02:34:37 +0000 (02:34 +0000)
commite7c1464d290cac38f8a7e3444b9a37e5b4edca90
tree4a48c0b86e4cb966b8af89a0271f2eefe3dda7eb
parentc19645fa72e2573d90ecfde653041c333e78d52b
Do not attempt to refill the TX fifo if there is no data left to transfer.

A comment in bcm_bsc_fill_tx_fifo() even lists sc_totlen > 0 as a
precondition for calling the routine.   I apparently forgot to make the
code do what my comment said.
sys/arm/broadcom/bcm2835/bcm2835_bsc.c