]> rtime.felk.cvut.cz Git - linux-lin.git/commit
Userspace LIN is compiled with USE_TERMIOS2 by default now.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Fri, 25 Nov 2011 01:41:27 +0000 (02:41 +0100)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Fri, 25 Nov 2011 01:41:27 +0000 (02:41 +0100)
commit6efb01e9e277c1dff94e4c477ada731f516f18eb
treec93a53126f598c091423e437071c98a19e1791b1
parent86a5f1e8ecb8de5df5ba9683a9c3a4d6460c20e9
Userspace LIN is compiled with USE_TERMIOS2 by default now.

If compiled with USE_TERMIOS2 then new kernel methods
is used to set generic baudrate.

The baudrate values are specified by c_ospeed
and c_ispeed fields of struct termios2 and new
IOCTL numbers TCSETS2 and TCGETS2 are used
for terminal parameters setting and reading.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
misc/tty_lin_master/main.c