Changeset 5ec6f09 in rtems


Ignore:
Timestamp:
01/31/02 21:42:36 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
485ed5cc
Parents:
0286b9f
Message:

2001-01-31 Mike Siers <mikes@…>

  • Nice Update of PPPD support which eliminates the requiremetn that drivers be in the termios TASK_DRIVEN mode. Mike did significant testing and reports that it seems to be more stable and handle larger packets better. This patch replaces the termios tasks with more general pppd network driver tasks. The functions pppinput() and pppstart() get called from the interrupt service routine.
  • libc/termios.c: Added PPCDISC.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/termios.c

    r0286b9f r5ec6f09  
    14131413                return 0; /* nothing to output in IRQ... */
    14141414        }
     1415        else if (tty->t_line == PPPDISC ) {
     1416                /*
     1417                 * call any line discipline start function
     1418                 */
     1419                if (linesw[tty->t_line].l_start != NULL) {
     1420                        linesw[tty->t_line].l_start(tty);
     1421                }
     1422                return 0; /* nothing to output in IRQ... */
     1423        }
    14151424        else {
    14161425                return rtems_termios_refill_transmitter(tty);
  • c/src/lib/ChangeLog

    r0286b9f r5ec6f09  
     12001-01-31      Mike Siers <mikes@poliac.com>
     2
     3        * Nice Update of PPPD support which eliminates the
     4        requiremetn that drivers be in the termios TASK_DRIVEN mode.
     5        Mike did significant testing and reports that it seems to be
     6        more stable and handle larger packets better.  This patch
     7        replaces the termios tasks with more general pppd network
     8        driver tasks.  The functions pppinput() and pppstart() get
     9        called from the interrupt service routine.
     10        * libc/termios.c: Added PPCDISC.
     11
    1122002-02-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    213
  • c/src/lib/libc/termios.c

    r0286b9f r5ec6f09  
    14131413                return 0; /* nothing to output in IRQ... */
    14141414        }
     1415        else if (tty->t_line == PPPDISC ) {
     1416                /*
     1417                 * call any line discipline start function
     1418                 */
     1419                if (linesw[tty->t_line].l_start != NULL) {
     1420                        linesw[tty->t_line].l_start(tty);
     1421                }
     1422                return 0; /* nothing to output in IRQ... */
     1423        }
    14151424        else {
    14161425                return rtems_termios_refill_transmitter(tty);
  • cpukit/libcsupport/src/termios.c

    r0286b9f r5ec6f09  
    14131413                return 0; /* nothing to output in IRQ... */
    14141414        }
     1415        else if (tty->t_line == PPPDISC ) {
     1416                /*
     1417                 * call any line discipline start function
     1418                 */
     1419                if (linesw[tty->t_line].l_start != NULL) {
     1420                        linesw[tty->t_line].l_start(tty);
     1421                }
     1422                return 0; /* nothing to output in IRQ... */
     1423        }
    14151424        else {
    14161425                return rtems_termios_refill_transmitter(tty);
Note: See TracChangeset for help on using the changeset viewer.