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:
Joel Sherrill
2002-02-01 16:51:07 +00:00
parent 7de5823954
commit 8e3caa52cd
5 changed files with 34 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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 */

View File

@@ -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.

View File

@@ -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 */