2009-02-11  John Dallaway  <john@dallaway.org.uk>

	* cdl/ppp.cdl: Fix per-package documentation reference.

2008-08-19  Rainer Arndt <Arndt-ADT@kieback-peter.de>

	* src/pppd.c (cyg_pppd_main): CYGPKG_PPP_CHAT must be enabled
	to call cyg_ppp_chat()

2008-04-28  Daniel Néri  <daniel.neri@sigicom.com>

	* src/ipcp.c (ipcp_init): Negotiate both primary and secondary DNS
	resolver addresses when CYGOPT_PPP_NS_NEGOTIATE is enabled.

2006-07-18  John Paul King  <john.king@transdatainc.com>

	* src/sys-ecos.c (cyg_ppp_up): Bring semaphore init earlier to avoid
	race condition if pppd thread is higher priority than the current
	thread.

2005-11-23  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/ppp.cdl: Require CYGPKG_POSIX_CLOCKS not *_TIMERS

2005-10-23  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/ppp.cdl: Require CYGPKG_POSIX_TIMERS
	* src/sys-ecos.c (gettimeofday): Removed, now get it from POSIX

2005-07-30  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/ppp_io.c (cyg_ppp_pppread): caddrt_t to stop compiler warnings.
	* src/cbcp.c (cbcp_recvack, cbcp_recvreq): u_char to stop compiler
	warnigs
	* src/sys-ecos.c (set_up_tty): 
	* include/pppd.h: Remove incorrect declaration of ifunit which
	the compiler complains about.

2005-06-07	Matt Jerdonek <maj1224@yahoo.com>

	* src/ipcp.c:
	* include/ipcp.h: Added code to support RFC 1877 (IPCP
	  Extension for DNS) for client operation.
	* src/sys-ecos.c:
	* include/ppp.h: Added function for application to get
	  the negotiated addresses from the PPP stack.
	* cdl/ppp.cdl: Added option to enable name server negotiation
	  and to automatically configure the DNS resolver with the 
	  negotiated address

2005-04-21	Matt Jerdonek <maj1224@yahoo.com>

	* src/ipcp.c:
	* src/sys-ecos.c: Move ipcp wantoptions initialization from
	  cyg_ppp_options_install to ipcp_init.  This fixes a bug
	  with default route operation introduced in the ACCM 
	  enhancement on 2004-12-1.

2005-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/ppp_up.c: Change the prototype of pr_func to match 
	diag_printf().
	* src/ppp_io.c (ppplogchar): Added missing parameter to diag_printf().

2005-01-16  Matt Jerdonek <maj1224@yahoo.com>
            Andrew Lunn  <andrew.lunn@ascom.ch>
	
	* cdl/ppp.cdl 
	* src/ppp_io.c (pppasyncstart): Conditionally allow the PPP daemon
	to send a start flag at the beginning of very packet. This is not
	required according to RFC 1662, but found to be necessary to
	interwork with some broken implementations.

2004-12-01    Murali Parvathaneni <murkrisp@yahoo.com>

	* include/ppp.h: Add options to negotiate ACCM in
	cyg_ppp_options_t structure.
	* include/pppd.h: Make ACCM negotiation fields externally
	available.
	* include/names.h: Redefine neg_accm and conf_accm with cyg_ppp_
	prefix.
	* src/pppd.c: Define storage for ACCM and a flag for ACCM
	negotiation.
	* src/sys-ecos.c: Initialize and set parameters to negotiate ACCM
	based on the configuration option.
	* src/lcp.c: Set WantOptions (wo) to negotiate ACCM.
	
2004-08-19  Oyvind Harboe <oyvind.harboe@zylin.com>
2004-09-08  Andrew Lunn <andrew.lunn@ascom.ch>
	
	* windows_telnet.c: now demonstrates chat script TIMEOUT, which
	makes connection more snappy. It also repeatably attempts at
	connect until a connection is established instead of a single try.
	Once a telnet session is aborted, a new one can be established.
	Also cleaned up the indentation to make it more readable.

2004-06-29	Matt Jerdonek <maj1224@yahoo.com>

	* cdl/ppp.cdl:
	* src/ipcp.c:
		Add option to disallow negotiation of old-style VJ compression
	* include/ppp.h:
		Add structure to track ppp failure reasons
	* include/pppd.h:
		Fix compiler warning
	* src/auth.c:
	* src/lcp.c:
	* src/pppd.c:
		Add code to track ppp failure reasons
	* src/chat.c:
		Fixes to clear out buffer space to allow chat script to run 
		multiple times.  Note: function is still not thread-safe
	* src/sys-ecos.c:
		Reset carrier detected bit when carrier lost
		Reset ppp_tty control block when PPP started

2004-06-24  Oyvind Harboe <oyvind.harboe@zylin.com>

	* tests/windows_telnet.c:
	* cdl/ppp.cdl:
	Added windows_telnet example application. Connects to Windows PPP 
	server and waits for a telnet session.
		
2004-05-06  Mark Retallack <mark.retallack@siemens.com>

	* src/ppp_io.c: 
	* src/sys-ecos.c: 	
	* src/ppp_io.h:	
	The wait_input function sometimes blocked even if a packet was
	available for processing. Now checks the tty queue and then the 
	serial driver before blocking.

2004-05-06  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/auth.c: Don't use non-eCos <paths.h>
	* src/pppd.c: Don't use non-eCos <sys/wait.h> and <sys/resource.h>
	* src/sys-ecos.c: netmask must be extern - not all tools have
	COMMON section support.

2004-04-15  Oyvind Harboe <oyvind.harboe@zylin.com>

	* src/chat.c: Script now returns success when it runs to completion

2004-03-31  John Dallaway  <jld@ecoscentric.com>

	* cdl/ppp.cdl: Correct capitalisation in display strings.

2004-03-24  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Add CYGPKG_PPP_DEBUG_WARN_ONLY option to control
	which syslog() messages actually get printed.

	* include/ppp.h: Widen kdebugflag option to 5 bits.

	* src/ppp_io.c: Converted some db_printf() calls to diag_printf().

	* src/sys-ecos.c: Delay return of cyg_ppp_wait_up() until IP
	addresses have been set. Add ifdef for CYGPKG_PPP_DEBUG_WARN_ONLY
	to syslog().

	* doc/ppp.sgml: Added documentation of CYGPKG_PPP_DEBUG_WARN_ONLY
	option. Improved documentation of kdebugflag runtime option.

2004-01-09  John Dallaway  <jld@ecoscentric.com>

	* cdl/ppp.cdl: Fix typographical error.

2004-01-08  Nick Garnett  <nickg@ecoscentric.com>

	* tests/test_server.sh: Added a dbecho of the PPPD command line.

2003-12-23  Nick Garnett  <nickg@ecoscentric.com>

	* doc/ppp.sgml: Added A&M Adder boards to list of those that
	support hardware flow control.

2003-12-22  Nick Garnett  <nickg@ecoscentric.com>

	* src/pppd.c (vfmtmsg): Disabled PowerPC-specific ifndef, we don't
	have the differences in va_list that this is coping with.

2003-11-12  John Dallaway  <jld@ecoscentric.com>

	* doc/ppp.sgml: Addition comments concerning serial flow control from
	Nick Garnett.

2003-10-10  John Dallaway  <jld@ecoscentric.com>

	* doc/ppp.sgml: Fix documentation build error.

2003-09-25  Nick Garnett  <nickg@ecoscentric.com>

	* src/magic.c (magic_init): Added pseudo-pid to seed
	initialization to add some variety.

	* include/pppd.h: 
	* include/names.h: 
	* src/pppd.c: Added flowctl global variable to control flow
	control of serial line. Removed crtscts variable.

	* cdl/ppp.cdl: Fixed enable of CHAP support, it was zero.

	* src/ppp_io.h:
	* src/ppp_io.c:
	* src/sys-ecos.c (set_up_tty): Added switch to set flow control of
	serial line depending on flowctl variable. Added ifdefs around use
	of line status callbacks -- not all drivers support them.
	
	* include/ppp.h: Added flowctl field to cyg_ppp_options_t
	structure plus a set of defines for its possible values.

	* doc/ppp.sgml: Added documentation of flowctl field.

	* tests/test_server.sh:
	* tests/nc_test_slave.c:
	* tests/tcp_echo.c:
	Added ability to use software flow control in these tests and an
	option on test_server commandline to select it for the host.
	
2003-07-18  Nick Garnett  <nickg@ecoscentric.com>

	* tests/test_server.sh: Changed to /bin/bash on first line, just
	in case. Added "nodetach" option to pppd. It seems that some
	versions of pppd fork into the background by default, and some,
	like the one I tested all this with initially, do not. This option
	should make them all behave the same.

2003-07-15  Nick Garnett  <nickg@ecoscentric.com>

	* src/magic.c (magic): Removed use of getpid(), since this is the
	only dependency here on the POSIX library.

2003-07-14  Nick Garnett  <nickg@ecoscentric.com>

	* doc/ppp.sgml: Updated configuration section to mention
	requirement for net and serial packages. Various other fixes.

	* cdl/ppp.cdl: Added requirements for CYGPKG_IO_SERIAL and
	CYGPKG_IO_SERIAL_DEVICES. Various other tidies.

	* src/sys-ecos.c: Added dummy versions of various PAP and CHAP
	functions to satisfy references in auth.c when PAP and CHAP have
	been configured out.

	* tests/test_server.sh: Added some comments and tidied a little.
	
2003-07-11  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_ALL to control which tests
	get made. Changed default value of CYGPKG_PPP_TESTS_AUTOMATE to
	build automated tests by default.

	* tests/ppp_updown.c: Changed ping timeout to seven seconds. The
	larger packets can take a long time to exchange at the lower baud
	rates.
	
	* doc/ppp.sgml: Updated to reflect latest changes.

2003-07-08  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_AUTOMATE and
	CYGDAT_PPP_TEST_BAUD_RATES options.
	
	* src/sys-ecos.c: Close sockfd correctly.

	* src/chat.c: Some small fixes to make system re-entrant. Fixed
	success flag to comply with documentation.
	
	* tests/ppp_test_support.inl: File added to contain the common
	parts for all PPP tests. This mostly involves the sending of
	commands to the test_server.sh script.

	* tests/test_server.sh: Modified to respond to baud rate change
	commands and to loop until a finish command is added. Added
	various extra tests for authentication and chat testing.


	* tests/ppp_auth.c: Test added to test PAP and CHAP
	authentication.

	* doc/ppp.sgml: Updated to reflect latest test changes.
	
	* tests/ppp_up.c: 
	* tests/ppp_updown.c: 
	* tests/chat.c: 
	* tests/nc_test_slave.c: 
	* tests/tcp_echo.c:
	Tests converted to use ppp_test_support.inl and to run multiple
	tests in some instances.

2003-07-03  Nick Garnett  <nickg@ecoscentric.com>

	* src/ppp_io.c (pppasyncstart): Removed a couple of spurious
	breaks. These were causing the TX thread to loop unnecessarily,
	and also seemed to cause some occasional packet corruptions.

	* tests/ppp_up.c: Fixed loop to be more responsive to the PPP link
	going down.
	
2003-07-01  Nick Garnett  <nickg@ecoscentric.com>

	* doc/ppp.sgml: Added further documentation on testing.

	* tests/test_server.sh: Various fixes.

2003-06-26  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added CYGPKG_PPP_TEST_DEVICE to specify device used
	by test programs.
	Added requirement for CYGPKG_IO_SERIAL_FLOW_CONTROL. 
	
	* doc/ppp.sgml: Added descriptions of test programs. Various
	tidies and fixes.

	* src/chat.c: Added some local debug support.
	
	* tests/ppp_up.c:
	* tests/ppp_updown.c:
	* tests/chat.c:
	* tests/nc_test_slave.c:
	* tests/tcp_echo.c:
	Added chat script (or modified existing one) to announce the name
	of the test over the serial line. This is to interface to the
	test_server.sh script. Use CYGPKG_PPP_TEST_DEVICE. ppp_updown now
	interrogates the ppp0 interface for the remote end's IP
	address. chat now switches to 115200 baud.

	* tests/isp.c: Use CYGPKG_PPP_TEST_DEVICE.

	* tests/test_server.sh: Shell script to act as a remote end for
	PPP testing. Each test announces itself over the link and this
	script executes the correct set of commands to run the test.
	
2003-06-20  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Removed CYGNUM_PPP_THREAD_COUNT. Updated
	descriptions of other options.

	* src/chat.c:
	* src/sys-ecos.c:
	* include/ppp.h: Some minor tidying, and API semantic changes
	mostly prompted by trying to document the API and discovering some
	inconsistencies.

	* tests/ppp_up.c: Modified in line with API semantic changes.
	
	* doc/ppp.sgml:
	* doc/makefile:
	* doc/ppp_sa.sgml:
	Added documentation. The actual documentation is in ppp.sgml. The
	makefile and ppp_sa.sgml allow a stand-alone copy of the
	documentation to be generated.

2003-06-17  Nick Garnett  <nickg@ecoscentric.com>

	* include/ppp.h: Removed some unused options from
	cyg_ppp_options_t.

	* include/syslog.h: Tidied and commented.

	* src/auth.c:
	* src/ipcp.c:
	* src/lcp.c:
	* src/ppp_io.c:
	* src/pppd.c:
	* src/sys-ecos.c:
	Removed some defunct BSD code, tidied up a little.

	* src/chat.c: Some tidying.
	
	* cdl/ppp.cdl:
	* tests/nc_test_slave.c:
	* tests/nc_test_framework.h:
	Added nc_test_slave test.

	* tests/ppp_up.c: Changed wait to print out TCP/IP tables every
	minute.

	* tests/tcp_echo.c: Tidied up a little.
	
2003-06-13  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added dialup number, control over compression, and
	some extra tests.

	* include/pppd.h: Changed inspeed to be a cyg_serial_baud_rate_t
	enum.

	* include/ppp.h: Added default_route, modem, baud and script
	options to cyg_ppp_options_t.

	* include/names.h: Header added to redefine all external names in
	the PPP package so that they do not pollute to application's
	namespace.
	
	* src/chat.c:
	* include/syslog.h:
	* include/ppp_io.h: Tidied and commented.


	* src/if_ppp.c: Added include of pkgconf/ppp.h.

	* src/ppp_io.c: Expunged some unnecessary BSD code, various tides.
	
	* src/pppd.c: Added handling of CHAT scripting during bring-up,
	carrier detect and proper shutdown.
	Expunged some unnecessary BSD code, various tides.
	
	* src/sys-ecos.c: Improved startup and shutdown synchronization,
	added carrier detect handling.
	Expunged some unnecessary BSD code, various tides.

	* tests/isp.c:
	* tests/ppp_up.c:
	* tests/ppp_updown.c:
	Generally tidied and cleaned up a bit. Added ping functionality to
	some tests to check routing.
	
	* tests/tcp_echo.c:
	New test, an adaptation of the standard tcp_echo net test that
	brings the PPP link up before starting the test.
	
	* include/zlib.h:
	* src/bsd_comp.c:
	* src/ppp_deflate.c:
	* src/zlib.c:
	Added these files to implement PPP compression. However at present
	there seem to be problems with this code, so compression is
	disabled by default. In any case, these algorithms need enormous
	amounts of working memory, so may not be useful in an embedded
	system.
	
2003-06-10  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl:
	* include/cbcp.h:
	* include/ccp.h:
	* include/chap.h:
	* include/chap_ms.h:
	* include/fsm.h:
	* include/ipcp.h:
	* include/lcp.h:
	* include/magic.h:
	* include/ppp.h:
	* include/ppp_io.h:
	* include/pppd.h:
	* include/slcompress.h:
	* include/syslog.h:
	* include/upap.h:
	* include/net/bpf.h:
	* include/net/if_ppp.h:
	* include/net/if_pppvar.h:
	* include/net/ppp_comp.h:
	* include/net/ppp_defs.h:
	* src/auth.c:
	* src/cbcp.c:
	* src/ccp.c:
	* src/chap.c:
	* src/chap_ms.c:
	* src/chat.c:
	* src/fsm.c:
	* src/if_ppp.c:
	* src/ipcp.c:
	* src/lcp.c:
	* src/magic.c:
	* src/ppp_io.c:
	* src/pppd.c:
	* src/slcompress.c:
	* src/sys-ecos.c:
	* src/upap.c:
	* tests/chat.c:
	* tests/isp.c:
	* tests/ppp_up.c:
	* tests/ppp_updown.c:
	Initial checkin of PPP code -- mainly as a safety/backup
	measure. There is still a good deal of tidying up to be done
	here. At present there is a lot of ifdeffed out BSD code present,
	which is there as a reminder of what should be done in the eCos
	code. The tests are incomplete, and there is no documentation.

# ####GPLCOPYRIGHTBEGIN####                 
# -------------------------------------------
# This file is part of eCos, the Embedded Configurable Operating System.
# Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 or (at your option) any
# later version.                            
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.  
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the
# Free Software Foundation, Inc., 51 Franklin Street,
# Fifth Floor, Boston, MA  02110-1301, USA. 
# -------------------------------------------
# ####GPLCOPYRIGHTEND####                   
