Hi all,

I noticed that the serial driver for the s3c2440 does detect parity
errors, but does not increment the corresponding error counter in the
serial_icounter_struct structure (see drivers/tty/serial/samsung.c,
line 277). Other errors (framing and overrun) are accounted for -- it
is just the parity error that is not traced.

This means that parity errors will not be reported via the TIOCGICOUNT
ioctl call, and also will not show up e.g. in
/proc/tty/driver/s3c2410_serial

I wonder if there is a reason why parity errors are not being traced?
It is strange that the three error types (parity, framing, overrun)
are detected, but that only two are traced in serial_icounter_struct.

Can anyone shed some light?

Thank you,

Guillermo Rodriguez Garcia
[email protected]

Reply via email to