linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Newbie question: setting baudrate / managing FIFO.
@ 2011-02-16 10:51 Andrei Warkentin
  2011-02-16 19:07 ` Andrei Warkentin
  2011-02-18 20:24 ` Grant Edwards
  0 siblings, 2 replies; 4+ messages in thread
From: Andrei Warkentin @ 2011-02-16 10:51 UTC (permalink / raw)
  To: linux-serial

Hi,

I looked about the archives, but maybe I skipped something... When I
am handling set_termios, what assumptions can I make regarding the
TX/RX state? I didn't take a look at all the serial drivers, but the
ones I did look did not bother flushing FIFOs and ensuring nothing can
be present in the TX FIFO while updating LCR and divisors. Should I do
the equivalent of stop_tx inside set_termios? Is that already ensured?
The hardware I am looking at needs to have FIFO cleared after setting
baud rate, and I was getting concerned over potential data loss
scenarios...

Thanks,
A

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-18 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 10:51 Newbie question: setting baudrate / managing FIFO Andrei Warkentin
2011-02-16 19:07 ` Andrei Warkentin
2011-02-18 20:15   ` Andrei Warkentin
2011-02-18 20:24 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).