[PATCH 1/2] serial: Add auart driver for i.MX23/28
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Jan 11 11:05:34 EST 2011
On Tue, Jan 11, 2011 at 04:09:04PM +0100, Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
So you don't handle any of the termios settings at all in this driver
such as ignoring parity, reading parity, framing errors, etc.
There's a reason that you're provided with read_status_mask and
ignore_status_mask.
If you don't intend to support those termios modes, ensure that you
force the termios structure to reflect what you actually do implement
so that userspace can detect the capabilities of your driver.
IOW, iflags INPCK, BRKINT, PARMRK, IGNPAR, IGNBRK and cflag CREAD.
More information about the linux-arm-kernel
mailing list