serial: sh-sci: per-port modem control.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 2 Dec 2011 08:44:50 +0000 (17:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 2 Dec 2011 08:44:50 +0000 (17:44 +0900)
commitfaf02f8fee5563ea7f950b3f5f08c654aa6c4525
tree83ec05fb78a55eef43f0a03abed9efcdc75aaf36
parentdc7e3ef7dade7041fb1809f2a5403efac655a791
serial: sh-sci: per-port modem control.

The bulk of the ports do not support any sort of modem control, so
blindly twiddling the MCE bit doesn't accomplish much. We now require
ports to manually specify which line supports modem control signals.

While at it, tidy up the RTS/CTSIO handling in SCSPTR parts so it's a bit
more obvious what's going on (and without clobbering other configurations
in the process).

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c
include/linux/serial_sci.h