diff options
author | Marek Vasut <marex@denx.de> | 2020-05-29 00:21:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-28 16:30:04 -0700 |
commit | 144ad36c3d3b53045a2b3f334bd735f469cb8ea8 (patch) | |
tree | ac40dc70dc1abbf25d053ba12a505196e356e8f8 /COPYING | |
parent | 24be72632c68e616c23ae01b08722d38242e552b (diff) |
net: ks8851: Factor out TX work flush function
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.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Petr Stetiar <ynezz@true.cz>
Cc: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions