Skip to contentSkip to conversation

serial port buffer commit

DISCUSSION David Chow 1 participant 1 message Nov 26, 2002

lore
Share & tools
lore

David Chow

author
#0 lore raw

Hi all,

I am writing a kernel thread for serial port communication. If the serial character device file is opened by a filp_open() or manipulating using a struct file in the kernel, how can I know whether the previous written buffer has commit or not? Similarly, how do I know is there any data ready for read for non blocking access? Thanks.

regards,
David Chow