On 06/12/2013 04:03 PM, Grant Edwards wrote:
I see the uart_ops.flush_buffer method which is used to flush the UART's tx fifo (presumably when the user calls tcflush(TCOFLUSH)). How does the rx fifo get flushed when the user calls tcflush(TCIFLUSH)?
It doesn't. If you're seeing stale i/o, it's more likely due to the flip buffers not being flushed (which I think is wrong but I haven't had the inclination to do all the historical research to fix that). Regards, Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html