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
  • cpukit/libnetworking/net/ppp_tty.c

    rc4b058ca r1c6926c1  
    225225    sc->sc_outm = NULL;
    226226    sc->sc_outmc = NULL;
    227    
     227
    228228    /* preallocate mbufs for free queue */
    229229    rtems_bsdnet_semaphore_obtain();
     
    244244    /* initialize values */
    245245    sc->sc_if.if_flags |= IFF_RUNNING;
    246     sc->sc_if.if_baudrate =
    247         rtems_termios_baud_to_number(tty->termios.c_cflag & CBAUD);
     246    sc->sc_if.if_baudrate = tty->termios.c_ispeed;
    248247
    249248    tty->t_sc = (void *)sc;
     
    375374    int                           len;
    376375    int                           maximum    = rw_args->count;
    377     char                         *out_buffer = rw_args->buffer; 
     376    char                         *out_buffer = rw_args->buffer;
    378377    register struct ppp_softc    *sc         = (struct ppp_softc *)tty->t_sc;
    379378    struct mbuf                  *m;
     
    433432
    434433    switch (cmd) {
    435     case RTEMS_IO_GET_ATTRIBUTES:
    436     case RTEMS_IO_SET_ATTRIBUTES:
    437     case RTEMS_IO_TCDRAIN:
     434    case TIOCGETA:
     435    case TIOCSETA:
     436    case TIOCSETAW:
     437    case TIOCSETAF:
     438    case TIOCDRAIN:
    438439    case RTEMS_IO_SNDWAKEUP:
    439440    case RTEMS_IO_RCVWAKEUP:
Note: See TracChangeset for help on using the changeset viewer.