forked from Imagelibrary/rtems
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.
This commit is contained in:
committed by
Sebastian Huber
parent
c4b058ca48
commit
1c6926c11f
@@ -41,7 +41,7 @@ static int mmconsole_set_attributes(int minor, const struct termios *t)
|
||||
{
|
||||
int baud;
|
||||
|
||||
switch (t->c_cflag & CBAUD) {
|
||||
switch (t->c_ospeed) {
|
||||
case B0:
|
||||
baud = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user