All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stuart MacDonald" <stuartm@connecttech.com>
To: David Lawyer <dave@lafn.org>, linux-serial@vger.kernel.org
Subject: Re: Saving data from the serial port
Date: Mon, 21 Apr 2003 12:37:16 -0400	[thread overview]
Message-ID: <00a901c30824$44d8a740$294b82ce@connecttech.com> (raw)
In-Reply-To: 20030419063939.GA393@lafn.org

From: "David Lawyer" <dave@lafn.org>
> On Fri, Apr 18, 2003 at 06:02:19PM -0400, Stuart MacDonald wrote:
> > From: "David Lawyer" <dave@lafn.org>
> > > I don't think so (but of course you should use flow control).  There
> > > just isn't any way to use flow control to protect the FIFO buffers
from
> > > overruns in Linux.  Flow control (for the input flow into a PC) only
> > > protects the serial 8K buffer in main memory.
> >
> > Not true. Many modern uarts have on-board flow control both hardware
> > and software based. Turn it on and the hardware does the magic when it
> > finds its fifos getting full.
>
> Does the Linux serial driver support this?  I didn't think that it did.
> David Lawyer

linux-2.4.20/drivers/char/serial.c:1774

Although support seems to be only for auto-cts. I coulda sworn it was
for both. The hardware based soft-flow control isn't being used
though.

..Stu



  reply	other threads:[~2003-04-21 16:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17 19:10 Saving data from the serial port Ed Vance
2003-04-18  0:06 ` David Lawyer
2003-04-18 18:38   ` Alex Moen
2003-04-18 22:02   ` Stuart MacDonald
2003-04-19  6:39     ` David Lawyer
2003-04-21 16:37       ` Stuart MacDonald [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-17 18:44 Alex Moen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00a901c30824$44d8a740$294b82ce@connecttech.com' \
    --to=stuartm@connecttech.com \
    --cc=dave@lafn.org \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.