Changeset 1c6926c1 in rtems for c/src/lib/libbsp/m68k/mvme167/console/console.c
- Timestamp:
- 03/21/17 19:39:48 (7 years ago)
- Branches:
- 5, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/mvme167/console/console.c
rc4b058ca r1c6926c1 726 726 */ 727 727 newarg.iop = args->iop; 728 newarg.command = RTEMS_IO_GET_ATTRIBUTES;728 newarg.command = TIOCGETA; 729 729 newarg.buffer = &termios; 730 730 sc = rtems_termios_ioctl (&newarg); … … 739 739 */ 740 740 termios.c_cflag |= CLOCAL; /* Ignore modem status lines */ 741 newarg.command = RTEMS_IO_SET_ATTRIBUTES;741 newarg.command = TIOCGETA; 742 742 sc = rtems_termios_ioctl (&newarg); 743 743 if (sc != RTEMS_SUCCESSFUL) … … 845 845 846 846 /* baud rates */ 847 out_baud = rtems_termios_baud_to_number(t->c_ cflag & CBAUD);848 in_baud = rtems_termios_baud_to_number(t->c_ cflag & CBAUD);847 out_baud = rtems_termios_baud_to_number(t->c_ospeed); 848 in_baud = rtems_termios_baud_to_number(t->c_ispeed); 849 849 850 850 /* Number of bits per char */
Note: See TracChangeset
for help on using the changeset viewer.