mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 08:54:44 +08:00
2001-01-31 Mike Siers <mikes@poliac.com>
* 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.
This commit is contained in:
@@ -1412,6 +1412,15 @@ rtems_termios_dequeue_characters (void *ttyp, int len)
|
||||
rtems_fatal_error_occurred (sc);
|
||||
return 0; /* nothing to output in IRQ... */
|
||||
}
|
||||
else if (tty->t_line == PPPDISC ) {
|
||||
/*
|
||||
* call any line discipline start function
|
||||
*/
|
||||
if (linesw[tty->t_line].l_start != NULL) {
|
||||
linesw[tty->t_line].l_start(tty);
|
||||
}
|
||||
return 0; /* nothing to output in IRQ... */
|
||||
}
|
||||
else {
|
||||
return rtems_termios_refill_transmitter(tty);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
2001-01-31 Mike Siers <mikes@poliac.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/rtems/libio.h: Add #include <rtems/fs.h>.
|
||||
|
||||
@@ -1412,6 +1412,15 @@ rtems_termios_dequeue_characters (void *ttyp, int len)
|
||||
rtems_fatal_error_occurred (sc);
|
||||
return 0; /* nothing to output in IRQ... */
|
||||
}
|
||||
else if (tty->t_line == PPPDISC ) {
|
||||
/*
|
||||
* call any line discipline start function
|
||||
*/
|
||||
if (linesw[tty->t_line].l_start != NULL) {
|
||||
linesw[tty->t_line].l_start(tty);
|
||||
}
|
||||
return 0; /* nothing to output in IRQ... */
|
||||
}
|
||||
else {
|
||||
return rtems_termios_refill_transmitter(tty);
|
||||
}
|
||||
|
||||
@@ -1412,6 +1412,15 @@ rtems_termios_dequeue_characters (void *ttyp, int len)
|
||||
rtems_fatal_error_occurred (sc);
|
||||
return 0; /* nothing to output in IRQ... */
|
||||
}
|
||||
else if (tty->t_line == PPPDISC ) {
|
||||
/*
|
||||
* call any line discipline start function
|
||||
*/
|
||||
if (linesw[tty->t_line].l_start != NULL) {
|
||||
linesw[tty->t_line].l_start(tty);
|
||||
}
|
||||
return 0; /* nothing to output in IRQ... */
|
||||
}
|
||||
else {
|
||||
return rtems_termios_refill_transmitter(tty);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user