Ignore:
Timestamp:
Mar 21, 2017, 7:39:48 PM (2 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/mcf5329/console/console.c

    rc4b058ca r1c6926c1  
    171171  if (t != (const struct termios *) 0) {
    172172    /* determine baud rate index */
    173     baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
     173    baud = rtems_termios_baud_to_number(t->c_ospeed);
    174174
    175175    /* determine data bits */
     
    614614
    615615    if (tcgetattr(STDIN_FILENO, &term) >= 0) {
    616       term.c_cflag &= ~(CBAUD | CSIZE);
    617       term.c_cflag |= CS8 | B19200;
     616      term.c_cflag &= ~(CSIZE);
     617      term.c_cflag |= CS8;
     618      term.c_ispeed = B19200;
     619      term.c_ospeed = B19200;
    618620      tcsetattr(STDIN_FILENO, TCSANOW, &term);
    619621    }
Note: See TracChangeset for help on using the changeset viewer.