From: Grant Edwards <grant.b.edwards@gmail.com>
To: Ted Ts'o <tytso@mit.edu>
Cc: Michael Haardt <michael@moria.de>, linux-serial@vger.kernel.org
Subject: Re: How to disable the transmit FIFO?
Date: Thu, 18 Nov 2010 22:31:55 -0600 [thread overview]
Message-ID: <20101119043155.GA17198@grante> (raw)
In-Reply-To: <20101119012523.GT3290@thunk.org>
On Thu, Nov 18, 2010 at 08:25:23PM -0500, Ted Ts'o wrote:
> On Thu, Nov 18, 2010 at 08:05:56PM +0000, Grant Edwards wrote:
> > On 2010-11-18, Michael Haardt <michael@moria.de> wrote:
> > >> > I miss a way to disable the transmit FIFO.
> > >>
> > >> From userspace or from within a kernel driver?
> > >
> > > From userspace.
> >
> > $ man setserial
>
> Specifically, if you use setserial to configure a serial port so that
> its UART is a 16450, it will force the transmit FIFO to be unused.
You can also leave the UART type as 16[56]50 and set the tx fifo
threshold to 1. That way you're only taking half the hit on interrupt
overhead.
--
Grant
next prev parent reply other threads:[~2010-11-19 4:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 9:15 How to disable the transmit FIFO? Michael Haardt
2010-11-18 16:41 ` Greg KH
2010-11-18 20:01 ` Michael Haardt
2010-11-18 20:05 ` Grant Edwards
2010-11-19 1:25 ` Ted Ts'o
2010-11-19 4:31 ` Grant Edwards [this message]
2010-11-24 12:47 ` Michael Haardt
2010-11-24 14:56 ` Grant Edwards
2010-11-18 20:11 ` Greg KH
2010-11-18 20:58 ` Michael Haardt
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=20101119043155.GA17198@grante \
--to=grant.b.edwards@gmail.com \
--cc=linux-serial@vger.kernel.org \
--cc=michael@moria.de \
--cc=tytso@mit.edu \
/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 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).