Commit Graph
224 Commits
Author SHA1 Message Date
Joel Sherrill a5d6544071 2002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/chap.c, pppd/fsm.c, pppd/fsm.h, pppd/upap.c: Per PR255
	fix prototype mismatches.
2002-07-25 13:54:40 +00:00
Joel Sherrill 8d3b3be411 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* rtems_webserver/misc.c: Per PR236 eliminate definition of strnlen().
2002-07-01 22:16:57 +00:00
Ralf Corsepius 6186657ad7 2002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Build libnetapps.a.
	Don't preinstall libnetapps.a
2002-06-26 17:04:38 +00:00
Joel Sherrill 113d7b8575 2002-05-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove headers. Remove CHANGELOG.
	* configure.ac: Use AC_CONFIG_SRCDIR([pppd]).
2002-05-30 12:25:30 +00:00
Joel Sherrill 7020377e8f 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Move networking libraries to c/src/exec/libnetworking
	* configure.ac: Reflect Moval.
	* Makefile.am: Reflect Moval.
	* wrapup/Makefile.am: Reflect Moval.
2002-05-29 17:00:30 +00:00
Joel Sherrill e3eab02dd6 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems_telnetd/pty.c: Remove bsp.h. Include <rtems/bspIo.h>.
2002-05-28 16:20:54 +00:00
Joel Sherrill c1f3fc045d 2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/mkrootfs.c: Add (relocated from libmisc/rootfs).
	* rtems/mkrootfs.h: Ditto.
	* rtems/Makefile.am: Reflect changes above.
2002-05-17 18:28:26 +00:00
Joel Sherrill c7286d942e 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sys/ioctl.h: Remove.
	* sys/sockio.h: Remove.
	* sys/filio.h: Remove.
	* sys/Makefile.am: Reflect changes above.
2002-05-14 18:02:47 +00:00
Joel Sherrill 06549dcf3f 2001-05-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected -- entry should have been in libchip.
2002-05-14 17:35:55 +00:00
Joel Sherrill 1065f16b76 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
	Per PR215 address the following issues:
	    - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
	      are no longer defined by libcpu (powerpc/shared/include/io.h)
	      but by the BSP (who is the only one to know the values)
	    - the affected BSP (shared/motorola) headers have been fixed
	      in a separate "libbsp/powerpc/shared" patch.
	    - the DEC 21140 driver (libchip/network/dec21140.c) has been
	      fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
	      and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
	      is to be defined by the BSP who is using this driver.
	    - the DEC driver also has been fixed to use the newer
	      rtems_bsp_delay_in_bus_cycles() instead of the obsolete
	      delay_in_bus_cycles().
2002-05-14 17:35:16 +00:00
Joel Sherrill 3ce2907d59 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* network/dec21140.c: Per PR215 address the following issues:
	    - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
	      are no longer defined by libcpu (powerpc/shared/include/io.h)
	      but by the BSP (who is the only one to know the values)
	    - the affected BSP (shared/motorola) headers have been fixed
	      in a separate "libbsp/powerpc/shared" patch.
	    - the DEC 21140 driver (libchip/network/dec21140.c) has been
	      fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
	      and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
	      is to be defined by the BSP who is using this driver.
	    - the DEC driver also has been fixed to use the newer
	      rtems_bsp_delay_in_bus_cycles() instead of the obsolete
	      delay_in_bus_cycles().
2002-05-14 17:08:25 +00:00
Joel Sherrill 51b39864ae 2002-05-01 Eric Norum <eric.norum@usask.ca>
* machine/in_cksum.h: Per PR200 fix multi-line inline assembly
	to satisfy gcc 3.1 and newer.
2002-05-01 23:09:37 +00:00
Joel Sherrill d50c0d2534 2002-04-26 Eric Norum <eric.norum@usask.ca>
* netinet/in_cksum_i386.c: Add volatile so the more agressive
	optimization in gcc 3.1 does not reorder things.
2002-04-26 21:34:58 +00:00
Joel Sherrill a81a8f8dc1 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Adapt to gcc-3.x.
2002-04-18 22:24:04 +00:00
Joel Sherrill 5bfc8912be 2002-04-11 Chris Johns <ccj@acm.org>
* c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added
	the drv_ctrl driver control block field to the ifconfig network driver
	structure. This field is needed by the i82586 driver which was ported
	from NetBSD as it had better hardware abstraction.
2002-04-13 16:41:43 +00:00
Joel Sherrill 25b4446957 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ChangeLog: Fix dates.
2002-04-08 18:27:31 +00:00
Joel Sherrill 51301198fb 2002-03-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/rcmd.c: Replace __rtems w/ __rtems__.
2002-04-01 13:27:46 +00:00
Joel Sherrill 01d48bf8ea 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* arpa/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* kern/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* lib/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* machine/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* net/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* netinet/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* nfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* pppd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sys/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* vm/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:43 +00:00
Joel Sherrill 9b02fa6509 2002-03-27 Thomas.Doerfler@imd-systems.de
* PR144
        * nfs/bootp_subr.c bootpc_init(): Performs a write to memory address
	0 when called for the first time. This is done when trying to clear
	the variable "dhcp_hostname".
2002-03-27 14:44:55 +00:00
Joel Sherrill f4c118d7a3 2002-03-27 Ilya Alexeev <ilya@continuum.ru>
* PR162
        * net/if_ppp.c ppp_txdaemon(), net/if_pppvar.h pppstart(): Local
	variables must not be used in a device write routines.  Now
	ppp_softc structure have own character for writing to device
	(sc_outchar).  I think that converting local variables to static
	is not a right solution, because problems will occur in the case
	of two or more ppp instances.
	* net/ppp_tty.c pppstart(): Type of the ioffset variable must be
	u_long, otherwise in the case of the big output packet endless
	loop may occur.
2002-03-27 14:36:07 +00:00
Joel Sherrill fd55b7dbd5 2002-03-21 Ilya Alexeev <ilya@continuum.ru>
* net/if_ppp.c, net/ppp_tty.c: Initial preparations for multiple
	PPPD connections.
2002-03-21 15:01:32 +00:00
Joel Sherrill d747877460 2001-03-20 Till Straumann <strauman@SLAC.Stanford.EDU>
* PR158
	* libc/rcmd.c, libc/rcmd.c: Enable the rcmd() library call by
	commenting out the parts that deal with signals.  This enables
	RTEMS to 'rsh' command to a server connecting fd to remote stdio.
	The 'server-side' parts of this file which deal with authentication
	are disabled since they are not needed.
2002-03-20 22:08:06 +00:00
Joel Sherrill cb1e8a4644 2002-02-27 Ilya Alexeev <ilya@continuum.ru>
* net/if_ppp.c, pppd/auth.c, pppd/chat.c, pppd/pppd.h,
	pppd/sys-rtems.c: Add server with pap-authorization
	capabilities as well as eliminate some warnings.
2002-02-27 22:43:31 +00:00
Joel Sherrill c52f1c7cbb 2002-02-27 Eric Norum <eric.norum@usask.ca>
* net/radix.c: Properly handle fetching the default route when there
	is no route.  This was a bug in the original FreeBSD code and this
	fix is from an updated version of their code.
2002-02-27 22:39:18 +00:00
Joel Sherrill 8e3caa52cd 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.
2002-02-01 16:51:07 +00:00
Joel Sherrill 485ed5cccd 2001-01-31 Mike Siers <mikes@poliac.com>
* pppd/rtemsdialer.h: New file missed in previous commit.
2002-02-01 14:04:45 +00:00
Joel Sherrill 0286b9f614 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.
	* Makefile.am, configure.ac, net/Makefile.am, net/bpf.h,
	net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h,
	net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h,
	net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h,
	net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h,
	net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c,
	net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README,
	pppd/STATUS, pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/ccp.h,
	pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h,
	pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c,
	pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h,
	pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
	pppd/pathnames.h, pppd/pppd.8, pppd/pppd.h, pppd/rtemsmain.c,
	pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c,
	pppd/upap.h, pppd/utils.c, pppd/example/README,
	pppd/example/netconfig.h, wrapup/Makefile.am: Modified.
	* net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h,
	net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file.
	* modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c,
	modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed.
2002-01-31 21:42:11 +00:00
Joel Sherrill c8f05db3b8 2002-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems_telnetd/pty.c: Move config.h to were it belongs.
	Remove printf (Reported by Till Straumann
	<strauman@SLAC.Stanford.EDU>).
2002-01-22 17:36:23 +00:00
Joel Sherrill cf42e73556 2001-01-16 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.clib/tftpDriver.c: Fix TFTP block number checking.
2002-01-16 22:50:04 +00:00
Joel Sherrill ab1ed86eb6 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/sys-rtems.c: Remove unused variable status from
	dodefaultroute.
2002-01-06 20:09:55 +00:00
Joel Sherrill d4651e4104 2002-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* lib/tftpDriver.c: Remove set_errno_and_return_minus_one, include
	<rtems/seterr.h>.
2002-01-04 18:25:27 +00:00
Joel Sherrill 2539cdcd28 2001-12-18 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Allow chdir() to work on TFTP `directories'
	(path names with a / at the end) while disallowing open() operations
	on TFTP `directories'.
2001-12-19 18:11:07 +00:00
Joel Sherrill 86d9ca28ed 2001-12-07 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Restore write capability.
2001-12-07 12:59:12 +00:00
Joel Sherrill 4efd0f6610 2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* arpa/Makefile.am: Remove stray lines.
2001-11-26 14:34:00 +00:00
Joel Sherrill dfe5a4e353 2001-10-18 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Properly handles ../ components in chdir() and
	open() operations within the TFTP file system.
2001-10-18 18:48:55 +00:00
Joel Sherrill cc13fa3245 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
2001-10-12 21:03:15 +00:00
Joel Sherrill d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00
Joel Sherrill cfb99fb7b3 2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-12 16:05:32 +00:00
Joel Sherrill aee474b0cf 2001-10-12 Mike Siers <mikes@poliac.com>
* Update to stable working state.  Congratulations Mike! :)
	* modem_example: Directory removed.
	* modem_example/16550.h, modem_example/README, modem_example/modem.c,
	modem_example/modem.h, modem_example/ppp.c, modem_example/ppp.h,
	modem_example/pppcompress.c: Files removed.
	* pppd/example/pppd.options: New file.
	* pppd/README, pppd/STATUS, pppd/cbcp.c, pppd/cbcp.h, pppd/chat.c,
	pppd/pppd.h, pppd/rtemsmain.c: Updated.
2001-10-12 13:43:05 +00:00
Joel Sherrill df25c9989b 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:36:23 +00:00
Joel Sherrill 1ef8e3d448 2001-09-27 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Add limited chdir() support to the TFTP
	filesystem.
2001-09-27 13:31:56 +00:00
Joel Sherrill b68e01c5d9 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* machine/Makefile.am: Use 'PREINSTALL_FILES ='.
	* net/Makefile.am: Use 'PREINSTALL_FILES ='.
	* netinet/Makefile.am: Use 'PREINSTALL_FILES ='.
	* vm/Makefile.am: Use 'PREINSTALL_FILES ='.
	* pppd/Makefile.am: Use 'PREINSTALL_FILES ='.
	* sys/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='.
	* arpa/Makefile.am: Use 'PREINSTALL_FILES ='.
	* nfs/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:28:22 +00:00
Joel Sherrill 0d309323fe 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
2001-09-24 18:29:46 +00:00
Joel Sherrill 5400f070e6 2001-09-19 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Add some debugging capability.
2001-09-19 17:40:37 +00:00
Joel Sherrill 4bde23948c 2001-09-19 Chris Johns <ccj@acm.org>
* nfs/bootp_subr.c, rtems/rtems_bootp.c, rtems/rtems_bsdnet.h,
	rtems/rtems_bsdnet_internal.h Added support for populating the
	initial "root" filesystem with information obtained via the DHCP
	response.
2001-09-19 17:30:38 +00:00
Joel Sherrill d34d2e6957 2001-09-19 Chris Johns <ccj@acm.org>
* Added support for populating the initial "root" filesystem
	with information obtained via the DHCP response.
	* rootfs: New directory.
	* rootfs/.cvsignore, rootfs/Makefile.am, rootfs/mkrootfs.c,
	rootfs/mkrootfs.h: New files.
	* configure.in, Makefile.am: Modified to reflect addition.
2001-09-19 17:29:42 +00:00
Joel Sherrill 19465445f2 2001-08-16 Mike Siers <mikes@poliac.com>
* pppd/STATUS: Updated by Joel based upon email from Mike.
	* pppd/cbcp.c, pppd/cbcp.h: Readded files.  These support callback
	functionality that has not even been compiled under RTEMS yet.
2001-08-17 20:17:18 +00:00
Joel Sherrill b8575ab611 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* pppd/example/Makefile: Removed.
	* pppd/example/Makefile-user: Added was Makefile.  Renamed to
	avoid bootstrap -c clobbering it.
2001-08-16 21:01:31 +00:00
Joel Sherrill 2f1b9304ac 2001-08-16 Mike Siers <mikes@poliac.com>
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
	application.  Mike's notes on the modifications:
	   - renamed error() function because of namespace problems
	   - removed calls to the exit() funciton
	   - removed extra files from the pppd source directory
	   - defined pppd task constant values in rtemspppd.h
	   - modifyied example code to get actual tick per second value
	   - placed the pppd 2.3.11 man page file (pppd.8) into the pppd
	   directory
	* pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c,
	pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted.
	* pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h,
	pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile,
	pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h,
	pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h:
	New files.
	* modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README,
	pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c,
	pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c,
	pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h,
	pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c,
	pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
	pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
2001-08-16 20:42:09 +00:00
Joel Sherrill bfe5d15ef1 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* rtems_telnetd/.cvsignore: New file.
2001-08-16 18:49:28 +00:00