From 1c6926c11f2e5efcb166c668b097d64a0321d66e Mon Sep 17 00:00:00 2001 From: Kevin Kirspel Date: Tue, 21 Mar 2017 15:39:48 -0400 Subject: 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. --- cpukit/libcsupport/src/termios_baud2index.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'cpukit/libcsupport/src/termios_baud2index.c') diff --git a/cpukit/libcsupport/src/termios_baud2index.c b/cpukit/libcsupport/src/termios_baud2index.c index 625a71494d..569ac5c769 100644 --- a/cpukit/libcsupport/src/termios_baud2index.c +++ b/cpukit/libcsupport/src/termios_baud2index.c @@ -44,10 +44,15 @@ int rtems_termios_baud_to_index( case B9600: baud_index = 13; break; case B19200: baud_index = 14; break; case B38400: baud_index = 15; break; - case B57600: baud_index = 16; break; - case B115200: baud_index = 17; break; - case B230400: baud_index = 18; break; - case B460800: baud_index = 19; break; + case B7200: baud_index = 16; break; + case B14400: baud_index = 17; break; + case B28800: baud_index = 18; break; + case B57600: baud_index = 19; break; + case B76800: baud_index = 20; break; + case B115200: baud_index = 21; break; + case B230400: baud_index = 22; break; + case B460800: baud_index = 23; break; + case B921600: baud_index = 24; break; default: baud_index = -1; break; } -- cgit v1.2.3