[lkml]   [1999]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: serial.c (half duplex support)
Hello Ted,

Given the fact that _IF_ the status of ioctl( fd, TIOCSERGETLSR, &result)
is correct, my halfduplex software (Hart) works fine
the ( info->xmit_buf might be considered as a SOFTWARE FIFO in
addition to the internal (fifo) registers

I have the following suggestion:

Make the result of ioctl( fd, TIOCGETSLR, &value) reflect the status
of the *hardware* bits as well the value of ( info->xmit_cnt > 0)

In this case even if the data has not reached the chip, the transmitter
is not flagged empty.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [W:0.077 / U:18.084 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site