Ignore:
Timestamp:
Mar 21, 2017, 7:39:48 PM (3 years ago)
Author:
Kevin Kirspel <kevin-kirspel@…>
Branches:
master
Children:
94a4865
Parents:
c4b058ca
git-author:
Kevin Kirspel <kevin-kirspel@…> (03/21/17 19:39:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/22/17 10:55:04)
Message:

termios: Synchronize with latest FreeBSD headers

Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mcf5235/console/console.c

    rc4b058ca r1c6926c1  
    175175        {
    176176                /* determine baud rate index */
    177                 baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
     177    baud = rtems_termios_baud_to_number(t->c_ospeed);
    178178
    179179                /* determine data bits */
     
    682682    if (tcgetattr (STDIN_FILENO, &term) >= 0)
    683683    {
    684       term.c_cflag &= ~(CBAUD | CSIZE);
    685       term.c_cflag |= CS8 | B19200;
     684      term.c_cflag &= ~(CSIZE);
     685      term.c_cflag |= CS8;
     686      term.c_ispeed = B19200;
     687      term.c_ospeed = B19200;
    686688      tcsetattr (STDIN_FILENO, TCSANOW, &term);
    687689    }
Note: See TracChangeset for help on using the changeset viewer.