]> git.baikalelectronics.ru Git - kernel.git/commit
serial_txx9: Fix modem control line handling
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 22 Aug 2007 21:01:15 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 23 Aug 2007 02:52:44 +0000 (19:52 -0700)
commit953e9dd6178b751d9cd5e07aacbd2fbd20a43546
tree545ef6aee9d6a95804899514c768e34297d7042e
parentd318dfa3c1f0ca6799dac0f7829ec0e3536bb923
serial_txx9: Fix modem control line handling

This chip does not have modem control lines.  Return TIOCM_CAR and
TIOCM_DSR always on get_mctrl() and ajust some bits in termios cflag.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/serial_txx9.c