Changeset 0395c5d in rtems-libbsd


Ignore:
Timestamp:
Apr 3, 2017, 12:10:37 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
3360232
Parents:
0732183
git-author:
Sebastian Huber <sebastian.huber@…> (04/03/17 12:10:37)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/03/17 12:12:34)
Message:

ppp: Update due to API changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/sys/net/ppp_tty.c

    r0732183 r0395c5d  
    245245    sc->sc_ifp->if_drv_flags |= IFF_DRV_RUNNING;
    246246    sc->sc_ifp->if_baudrate =
    247         rtems_termios_baud_to_number(tty->termios.c_cflag & CBAUD);
     247        rtems_termios_baud_to_number(tty->termios.c_ospeed);
    248248
    249249    tty->t_sc = (void *)sc;
     
    427427
    428428    switch (cmd) {
    429     case RTEMS_IO_GET_ATTRIBUTES:
    430     case RTEMS_IO_SET_ATTRIBUTES:
    431     case RTEMS_IO_TCDRAIN:
     429    case RTEMS_IO_RCVWAKEUP:
    432430    case RTEMS_IO_SNDWAKEUP:
    433     case RTEMS_IO_RCVWAKEUP:
     431    case TIOCDRAIN:
     432    case TIOCFLUSH:
     433    case TIOCGETA:
    434434    case TIOCGETD:
     435    case TIOCSETA:
     436    case TIOCSETAF:
     437    case TIOCSETAW:
    435438    case TIOCSETD:
    436439        error = rtems_termios_ioctl(args);
Note: See TracChangeset for help on using the changeset viewer.