On Thu, May 14, 2020 at 02:07:42AM +0200, Marek Vasut wrote: > While the SPI version of the KS8851 requires a TX worker thread to pump > data via SPI, the parallel bus version can write data into the TX FIFO > directly in .ndo_start_xmit, as the parallel bus access is much faster > and does not sleep. Factor out this TX work flush part, so it can be > overridden by the parallel bus driver. > > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: David S. Miller <da...@davemloft.net> > Cc: Lukas Wunner <lu...@wunner.de> > Cc: Petr Stetiar <yn...@true.cz> > Cc: YueHaibing <yuehaib...@huawei.com>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew