forked from Imagelibrary/rtems
2001-02-01 Mike Siers <mikes@poliac.com>
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing the link down too fast. NOTE: Mike reports successfully running at 56K baud on a direct link.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2001-02-01 Mike Siers <mikes@poliac.com>
|
||||||
|
|
||||||
|
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing
|
||||||
|
the link down too fast.
|
||||||
|
NOTE: Mike reports successfully running at 56K baud on a direct link.
|
||||||
|
|
||||||
2001-01-31 Mike Siers <mikes@poliac.com>
|
2001-01-31 Mike Siers <mikes@poliac.com>
|
||||||
|
|
||||||
* pppd/rtemsdialer.h: New file missed in previous commit.
|
* pppd/rtemsdialer.h: New file missed in previous commit.
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2001-02-01 Mike Siers <mikes@poliac.com>
|
||||||
|
|
||||||
|
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing
|
||||||
|
the link down too fast.
|
||||||
|
NOTE: Mike reports successfully running at 56K baud on a direct link.
|
||||||
|
|
||||||
2001-01-31 Mike Siers <mikes@poliac.com>
|
2001-01-31 Mike Siers <mikes@poliac.com>
|
||||||
|
|
||||||
* pppd/rtemsdialer.h: New file missed in previous commit.
|
* pppd/rtemsdialer.h: New file missed in previous commit.
|
||||||
|
|||||||
@@ -196,11 +196,18 @@ int rtems_pppd_connect(void)
|
|||||||
return ( 0 );
|
return ( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
int rtems_pppd_disconnect(void)
|
static void timeout_terminate(void *arg)
|
||||||
{
|
{
|
||||||
/* set pppd global variables to disconnect */
|
/* set pppd global variables to disconnect */
|
||||||
persist = 0;
|
persist = 0;
|
||||||
kill_link = 1;
|
kill_link = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int rtems_pppd_disconnect(void)
|
||||||
|
{
|
||||||
|
/* need to wait a little time before we can bring the link down */
|
||||||
|
/* set up time out in 1 seconds */
|
||||||
|
TIMEOUT(timeout_terminate, NULL, 1);
|
||||||
|
|
||||||
/* send event to wake up the pppd code */
|
/* send event to wake up the pppd code */
|
||||||
/* pretend its a serial interrput */
|
/* pretend its a serial interrput */
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2001-02-01 Mike Siers <mikes@poliac.com>
|
||||||
|
|
||||||
|
* pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing
|
||||||
|
the link down too fast.
|
||||||
|
NOTE: Mike reports successfully running at 56K baud on a direct link.
|
||||||
|
|
||||||
2001-01-31 Mike Siers <mikes@poliac.com>
|
2001-01-31 Mike Siers <mikes@poliac.com>
|
||||||
|
|
||||||
* pppd/rtemsdialer.h: New file missed in previous commit.
|
* pppd/rtemsdialer.h: New file missed in previous commit.
|
||||||
|
|||||||
@@ -196,11 +196,18 @@ int rtems_pppd_connect(void)
|
|||||||
return ( 0 );
|
return ( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
int rtems_pppd_disconnect(void)
|
static void timeout_terminate(void *arg)
|
||||||
{
|
{
|
||||||
/* set pppd global variables to disconnect */
|
/* set pppd global variables to disconnect */
|
||||||
persist = 0;
|
persist = 0;
|
||||||
kill_link = 1;
|
kill_link = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int rtems_pppd_disconnect(void)
|
||||||
|
{
|
||||||
|
/* need to wait a little time before we can bring the link down */
|
||||||
|
/* set up time out in 1 seconds */
|
||||||
|
TIMEOUT(timeout_terminate, NULL, 1);
|
||||||
|
|
||||||
/* send event to wake up the pppd code */
|
/* send event to wake up the pppd code */
|
||||||
/* pretend its a serial interrput */
|
/* pretend its a serial interrput */
|
||||||
|
|||||||
Reference in New Issue
Block a user