From: NIIBE Y. <gn...@ch...> - 2000-09-06 08:45:58
|
YAEGASHI Takeshi wrote: > Well, I'm not convinced of how it should behave itself when > multiple errors(and BREAK) occur simultaneously. I suppose they > should be discarded except the most significant one, right? > (buffer overrun > BREAK > frame, parity error?) Well, we need better error handling, definitely. > And there are no BREAK detection for SCI(w/o FIFO) port. Yes, that's my point. We need this for SCI(w/o FIFO). With some TTY discipline, BREAK is out-of-band signal (not an error). Specifically, it works like CTRL-C (INT char with "dec" setting) which causes SIGINT to the process. So, while buffer overrun, frame error, and parity error belong to the "error" handling, break handling is another issue. -- |