z8530_flush_fifo (9) - Linux Man Pages
z8530_flush_fifo: Flush on chip RX FIFO
z8530_flush_fifo - Flush on chip RX FIFO
void z8530_flush_fifo(struct z8530_channel
- Channel to flush
Flush the receive FIFO. There is no specific option for this, we blindly read bytes and discard them. Reading when there is no data is harmless. The 8530 has a 4 byte FIFO, the 85230 has 8 bytes.
Alan Cox <alan [at] lxorguk.ukuu.org.uk>