From: Peter Korsgaard <jacmet@sunsite.dk>
To: Russell King <rmk@arm.linux.org.uk>
Cc: tnt@246tNt.com, linux-serial@vger.kernel.org
Subject: Re: [RFC][PATCH] Xilinx uartlite serial driver
Date: Tue, 16 May 2006 15:03:32 +0200 [thread overview]
Message-ID: <87lkt2xgt7.fsf@LKG7F3A44.lan> (raw)
In-Reply-To: <20060516125329.GE15481@flint.arm.linux.org.uk> (Russell King's message of "Tue, 16 May 2006 13:53:29 +0100")
>>>>> "Russell" == Russell King <rmk@arm.linux.org.uk> writes:
>> What do you say Sylvain? Reusing device nodes seems pretty common
>> (pxa.c, at91_serial.c, ..), and I cannot imagine anyone making a
>> system with uartlite and mpc52xx UARTs ..
Russell> Actually they're wishing they hadn't because they can't interoperate
Russell> with standard 16550-based ports without resorting to nasty hacks.
Russell> As such they're _both_ transitioning away from using the major 4
Russell> space.
Ok, but I'm using major 204, not 4, so that shouldn't be an issue.
But ok, I'll apply for a range in the 204 series for the driver. The
question is, how many minors should I get? As the UART is implemented
in a FPGA there isn't really any hard upper bound on how many UARTs a
board could have.
Russell> Actually that's wrong. INPCK controls whether input parity
Russell> _checking_ is be enabled. If INPCK is not set, then there
Russell> is no checking of input parity, and therefore you don't know
Russell> if there is an error or not.
Ok, the following little patch updates Documentation/serial/driver to
match:
Update documentation to match reality. INPCK controls whether input
parity checking is enabled.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
Documentation/serial/driver | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Index: linux/Documentation/serial/driver
===================================================================
--- linux.orig/Documentation/serial/driver 2006-05-16 16:23:44.000000000 +0200
+++ linux/Documentation/serial/driver 2006-05-16 16:28:00.000000000 +0200
@@ -214,12 +214,13 @@
The interaction of the iflag bits is as follows (parity error
given as an example):
Parity error INPCK IGNPAR
- None n/a n/a character received
- Yes n/a 0 character discarded
- Yes 0 1 character received, marked as
+ n/a 0 n/a character received, marked as
TTY_NORMAL
- Yes 1 1 character received, marked as
+ None 1 n/a character received, marked as
+ TTY_NORMAL
+ Yes 1 0 character received, marked as
TTY_PARITY
+ Yes 1 1 character discarded
Other flags may be used (eg, xon/xoff characters) if your
hardware supports hardware "soft" flow control.
Russell> which I believe is what 8250 and other ports implement.
Yes.
Did you have time to look at my updated driver patch?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2006-05-16 15:13 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 14:23 [RFC][PATCH] Xilinx uartlite serial driver Peter Korsgaard
2006-05-11 22:20 ` Russell King
2006-05-16 9:48 ` Peter Korsgaard
2006-05-16 12:09 ` Sylvain Munaut
2006-05-16 12:53 ` Russell King
2006-05-16 13:03 ` Peter Korsgaard [this message]
2006-06-02 16:47 ` Russell King
2006-05-16 13:03 ` Sylvain Munaut
2006-05-16 13:07 ` Peter Korsgaard
2006-08-22 15:13 ` Peter Korsgaard
2006-09-12 14:33 ` Olof Johansson
2006-09-13 5:56 ` Peter Korsgaard
2006-09-13 13:39 ` Peter Korsgaard
2006-09-13 15:01 ` Olof Johansson
2006-09-29 19:04 ` David H. Lynch Jr.
2006-09-29 19:57 ` David H. Lynch Jr.
2006-10-04 15:45 ` Peter Korsgaard
2006-10-06 4:14 ` David H. Lynch Jr.
2006-09-30 9:25 ` David H. Lynch Jr.
2006-10-04 16:01 ` Peter Korsgaard
2006-10-06 4:15 ` David H. Lynch Jr.
2006-10-03 10:27 ` David H. Lynch Jr.
[not found] ` <451CDA3D.2060109@dlasys.net>
2006-10-04 15:41 ` Peter Korsgaard
2006-10-06 4:13 ` David H. Lynch Jr.
2006-10-06 4:14 ` David H. Lynch Jr.
2006-10-06 4:14 ` David H. Lynch Jr.
2006-10-19 23:06 ` Olof Johansson
2006-10-20 12:22 ` Peter Korsgaard
2006-09-28 10:14 ` David H. Lynch Jr.
2006-10-04 15:34 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2006-10-13 14:12 David H. Lynch Jr.
2006-10-13 14:45 ` Peter Korsgaard
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=87lkt2xgt7.fsf@LKG7F3A44.lan \
--to=jacmet@sunsite.dk \
--cc=linux-serial@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
--cc=tnt@246tNt.com \
/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).