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/sparc/shared/uart/apbuart_cons.c

    rc4b058ca r1c6926c1  
    4040#define DBG(x...) printk(x)
    4141#else
    42 #define DBG(x...) 
     42#define DBG(x...)
    4343#endif
    4444
     
    8686#endif
    8787
    88 struct drvmgr_drv_ops apbuart_ops = 
     88struct drvmgr_drv_ops apbuart_ops =
    8989{
    9090        .init = {apbuart_init1, NULL, NULL, NULL},
     
    568568
    569569        /* Baud rate */
    570         baud = apbuart_baud_num2baud(t->c_cflag & CBAUD);
     570  baud = apbuart_baud_num2baud(t->c_ospeed);
    571571        if (baud > 0){
    572572                /* Get APBUART core frequency */
     
    589589        struct apbuart_baud *baud;
    590590
    591         t->c_cflag = t->c_cflag & ~(CSIZE|PARENB|PARODD|CLOCAL|CBAUD);
     591  t->c_cflag = t->c_cflag & ~(CSIZE|PARENB|PARODD|CLOCAL);
    592592
    593593        /* Hardware support only CS8 */
Note: See TracChangeset for help on using the changeset viewer.