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.