svn commit: r262955 - head/etc
Marcel Moolenaar
marcel at FreeBSD.org
Sun Mar 9 20:51:15 UTC 2014
Author: marcel
Date: Sun Mar 9 20:51:14 2014
New Revision: 262955
URL: http://svnweb.freebsd.org/changeset/base/262955
Log:
Add 3wire and std as terminal types/classes. These are similar to
the existing terminal types/classes that have the baudrate suffix,
but differ in that no baudrate is set/defined.
The purpose of these new types/classes is to allow them to be used
for the serial console. Currently the uart(4) driver fixates the
baudrate and the CLOCAL flag, which means that it doesn't matter
whether you give it std.<baud> or 3wire.<baud> as the terminal type
to getty and what exactly <baud> is set to. It's being overridden
by uart(4). The goal is to change uart(4) not to override these
settings.
Modified:
head/etc/gettytab
Modified: head/etc/gettytab
==============================================================================
--- head/etc/gettytab Sun Mar 9 19:37:01 2014 (r262954)
+++ head/etc/gettytab Sun Mar 9 20:51:14 2014 (r262955)
@@ -49,6 +49,8 @@ default:\
# autobaud code in getty, and likewise can
# be assigned to any table desired (hopefully the same speed).
#
+std:\
+ :np:sp#0:
a|std.110|110-baud:\
:np:nd#1:cd#1:uc:sp#110:
b|std.134|134.5-baud:\
@@ -221,6 +223,8 @@ al.Pc:\
# Entries for 3-wire serial terminals. These don't supply carrier, so
# clocal needs to be set, and crtscts needs to be unset.
#
+3wire:\
+ :np:nc:sp#0:
3wire.9600|9600-3wire:\
:np:nc:sp#9600:
3wire.19200|19200-3wire:\
More information about the svn-src-all
mailing list