From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
Breno Leitao <leitao@linux.vnet.ibm.com>
Subject: Re: Very strange data loss with jsm driver
Date: Fri, 29 Jul 2011 14:13:37 -0400 [thread overview]
Message-ID: <20110729181337.GM8562@caffeine.csclub.uwaterloo.ca> (raw)
In-Reply-To: <20110729191442.35d09111@lxorguk.ukuu.org.uk>
On Fri, Jul 29, 2011 at 07:14:42PM +0100, Alan Cox wrote:
> > I noticed fifosize in the uart_port info is set to 16, even though the
> > fifo size is actually 64 bytes as all actual driver bits know. What is
> > fifosize actually used for?
>
> Only within the driver. The generic code merely knows how it as a
> configuration property but doesn't use it.
Well the driver certainly never uses that value. I guess setserial can
poke at it, but it won't do anything with it.
I wonder how I should go about trying to figure out why the driver acts
so strangely with this particular input pattern.
It seems it can't be the tty layer, since other serial drivers seem to
work fine. It has to be the jsm.
--
Len Sorensen
next prev parent reply other threads:[~2011-07-29 18:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-29 16:04 Very strange data loss with jsm driver Lennart Sorensen
2011-07-29 16:27 ` Alan Cox
2011-07-29 16:53 ` Lennart Sorensen
2011-07-29 18:06 ` Lennart Sorensen
2011-07-29 18:14 ` Alan Cox
2011-07-29 18:13 ` Lennart Sorensen [this message]
2011-08-02 14:17 ` Breno Leitao
2011-08-02 14:22 ` Lennart Sorensen
2011-08-02 14:23 ` Lennart Sorensen
2011-08-02 14:49 ` Breno Leitao
2011-08-02 14:52 ` Lennart Sorensen
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=20110729181337.GM8562@caffeine.csclub.uwaterloo.ca \
--to=lsorense@csclub.uwaterloo.ca \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=leitao@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.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 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).