Commit Graph
197 Commits
Author SHA1 Message Date
Joel Sherrill 68a368fc93 2002-08-09 Joel Sherrill <joel@OARcorp.com>
* libc/getservent.c: Per PR265, add  #include <netinet/in.h> for
	ntohl() function.
2002-08-09 12:45:10 +00:00
Joel Sherrill 7a47bb5724 2002-08-07 Joel Sherrill <joel@OARcorp.com>
* netinet/in.h: Per PR263, added include of <machine/endian.h>
	to <netinet/in.h> so it includes prototypes of ntohl() family
	of routines.
2002-08-07 15:37:33 +00:00
Joel Sherrill d9ab6d3b31 2002-08-01 Joel Sherrill <joel@OARcorp.com>
* machine/param.h, sys/syslimits.h: In the continued effort to
	eliminate .h conflicts between newlib and RTEMS, these were moved to
	newlib.
	* machine/Makefile.am, sys/Makefile.am: Reflect above.
2002-08-02 00:48:03 +00:00
Ralf Corsepius 18dce917b5 2002-08-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't install.
2002-08-01 16:15:37 +00:00
Joel Sherrill 08943ebf47 2002-07-30 Joel Sherrill <joel@OARcorp.com>
* sys/param.h: Removed as a simpler version of this file is
	now part of the RTEMS newlib support.
	* sys/Makefile.am: Modified to reflect above.
2002-07-30 23:32:15 +00:00
Joel Sherrill 9fcd1a1c58 2002-07-30 Joel Sherrill <joel@OARcorp.com>
* machine/types.h: Removed as a simpler version of this file is
	now part of the RTEMS newlib support.
	* machine/Makefile.am, machine/endian.h, nfs/bootp_subr.c,
	rtems/rtems_bsdnet_internal.h, sys/Makefile.am, sys/systm.h:
	Minor modifications to use the simpler machine/types.h.  Mostly
	more complete sets of #include's to account for machine/types.h
	no longer doing this.
2002-07-30 23:31:00 +00:00
Joel Sherrill 6fd25163de 2002-07-30 Jay Monkman <jtm@smoothsmoothie.com>
* netinet/in_cksum.c, netinet/in_cksum_arm.c: Added ARM in_cksum
	support.
2002-07-30 14:33:24 +00:00
Joel Sherrill 7b43151410 2002-07-24 Joel Sherrill <joel@OARcorp.com>
* sys/select.h: Add a prototype of select() to avoid warnings.
	In particular a C++ application using select() required a prototype.
2002-07-24 13:25:50 +00:00
Joel Sherrill ce75da600a 2002-07-24 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, libc/res_send.c: Do not install or use <poll.h>
	since RTEMS does not support it.
2002-07-24 13:25:06 +00:00
Ralf Corsepius 0e1dd41f04 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am: Use .$(OBJEXT) instead of .o.
	* lib/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* wrapup/Makefile.am: Ditto.
2002-07-22 13:44:48 +00:00
Ralf Corsepius eb4b28dca2 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am: Eliminate LIBNAME.
	* lib/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* wrapup/Makefile.am: Use project_libdir instead of
	$(PROJECT_RELEASE)/lib.
2002-07-22 06:35:33 +00:00
Joel Sherrill 74c402a2a3 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* netinet/in.h, netinet/ip.h, netinet/ip_var.h, netinet/tcp.h:
	Modified to added packed attribute.o
2002-07-17 17:08:48 +00:00
Ralf Corsepius 705a070160 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../..).
2002-07-05 15:55:09 +00:00
Ralf Corsepius 8c746fe197 2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_PROJECT_ROOT.
2002-07-01 09:59:55 +00:00
Joel Sherrill dda0bffc41 2002-06-27 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* Addition of a ftp client filesystem, comparable to the tftp one.
	* lib/ftpfs.c, rtems/ftpfs.h: New files.
	* lib/Makefile.am, rtems/Makefile.am: Modified to reflect above.
2002-06-27 21:59:23 +00:00
Ralf Corsepius da8f88a23e 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AC_CONFIG_AUX_DIR(../..).
	Add AC_PROG_RANLIB.
2002-06-27 04:00:20 +00:00
Ralf Corsepius 89e6498803 2002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't preinstall libnetworking.a.
2002-06-26 15:46:38 +00:00
Ralf Corsepius 75fb648b95 2002-06-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove commented out net-apps.
2002-06-18 12:33:23 +00:00
Ralf Corsepius f22ebf02b2 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* arpa/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* kern/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* lib/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* libc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* machine/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* net/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* netinet/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* nfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* rtems/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* sys/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* vm/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:12:00 +00:00
Ralf Corsepius bfd1a53a2f 2002-06-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: include multilib.am instead of RTEMS_BSP.cfg.
2002-06-15 07:14:44 +00:00
Joel Sherrill 158e2d7d79 2002-05-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_POSIX_API.
	  Remove RTEMS_ENABLE_POSIX.
	  Remove RTEMS_CHECK_CUSTOM_BSP.
	  Remove RTEMS_ENABLE_POSIX.
2002-05-30 12:25:38 +00:00
Joel Sherrill 8a79786886 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Relocate c/src/libnetworking.
	* Makefile.am: Reflect moval.
	* machine/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* lib/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* vm/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* sys/Makefile.am: Ditto.
	* arpa/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* kern/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* configure.ac: Dittp.
	* wrapup/Makefile.am: Ditto. Remove references to networking apps.
2002-05-29 17:00:59 +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