Browse Source

[SERIAL] Update parity handling documentation

Update documentation to match reality. INPCK controls whether input
parity checking is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Peter Korsgaard 19 years ago
parent
commit
89f3da3e06
1 changed files with 5 additions and 4 deletions
  1. 5 4
      Documentation/serial/driver

+ 5 - 4
Documentation/serial/driver

@@ -214,12 +214,13 @@ hardware.
 	The interaction of the iflag bits is as follows (parity error
 	The interaction of the iflag bits is as follows (parity error
 	given as an example):
 	given as an example):
 	Parity error	INPCK	IGNPAR
 	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
 					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
 					TTY_PARITY
+	Yes		1	1	character discarded
 
 
 	Other flags may be used (eg, xon/xoff characters) if your
 	Other flags may be used (eg, xon/xoff characters) if your
 	hardware supports hardware "soft" flow control.
 	hardware supports hardware "soft" flow control.