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)
commit999999616e45c603da45ee2667741fb7348629a5
tree545ef6aee9d6a95804899514c768e34297d7042e
parent84f8c6fc0e3b6e48fd22c28fc3bb666a130b3994
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