[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110729181337.GM8562@caffeine.csclub.uwaterloo.ca>
Date: Fri, 29 Jul 2011 14:13:37 -0400
From: lsorense@...lub.uwaterloo.ca (Lennart Sorensen)
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Lennart Sorensen <lsorense@...lub.uwaterloo.ca>,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
Breno Leitao <leitao@...ux.vnet.ibm.com>
Subject: Re: Very strange data loss with jsm driver
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists