Maciej W. Rozycki ff11d07803 dz: clean up and improve the setup of termios settings
A set of changes to the way termios settings are propagated to the serial
port hardware.  The DZ11 only supports a selection of fixed baud settings,
so some requests may not be fulfilled.  Keep the old setting in such a case
and failing that resort to 9600bps.  Also add a missing update of the
transmit timeout.  And remove the explicit encoding of the line selected
from writes to the Line Parameters Register as it has been preencoded by
the ->set_termios() call already.  Finally, remove a duplicate macro for
the Receiver Enable bit.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: 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>
2008-02-07 08:42:24 -08:00
..
2008-02-05 09:44:22 -08:00
2008-02-06 10:41:01 -08:00
2008-02-05 09:44:23 -08:00
2008-02-06 10:41:15 -08:00
2008-02-05 09:44:13 -08:00
2008-02-04 23:50:03 +11:00
2008-02-06 10:41:02 -08:00
2008-02-03 17:21:01 +02:00
2008-02-07 08:42:23 -08:00
2008-02-06 10:41:10 -08:00
2008-02-06 10:41:01 -08:00
2008-01-31 11:25:51 +11:00
2008-02-06 10:41:08 -08:00
2008-02-03 17:30:25 +02:00
2008-02-06 10:41:07 -08:00
2008-02-05 09:44:12 -08:00
2008-02-05 09:44:12 -08:00