Commit Graph
171 Commits
Author SHA1 Message Date
Joel Sherrill a191b28eae 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:54:22 +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 6f0d05275e 2002-05-07 Chris Johns <ccj@acm.org>
* c/src/libchip/network/i82586.c: Per PR210, adjust the mbuf
	lengths to remove the ethernet header as the FreeBSD (RTEMS)
	stack requires it to be stripped.
2002-05-14 15:16:39 +00:00
Joel Sherrill 7c4ef9cd7a 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/dec21140.c: Reflect changes to powerpc's
	rtems/score/cpu.h. Use __PPC__ for gcc-3.x compliance.
2002-04-18 21:01:20 +00:00
Joel Sherrill 18b6986b89 2002-04-11 Chris Johns <ccj@acm.org>
* network/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:42:23 +00:00
Joel Sherrill 9c6a99f1fe 2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/i82586.c: Include <string.h>.
	* network/sonic.c: Ditto.
2002-04-04 18:22:15 +00:00
Joel Sherrill a2ddad1a6b 2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_DEFINE(CPU_U32_FIX) for sparc.
2002-04-03 14:19:09 +00:00
Joel Sherrill 657af74ea5 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]).
	* network/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* serial/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:32 +00:00
Joel Sherrill 03e9564e98 2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/cs8900.c: Include rtems/bspIo.h instead of bspIo.h.
2002-01-04 18:17:23 +00:00
Joel Sherrill c752ff2db7 2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/sonic.h: Fix typo.
2001-11-26 14:34:19 +00:00
Joel Sherrill 4f7a0f426b 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* serial/z85c30.c: Fixed typo.
2001-10-12 21:02:29 +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 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 e4145663eb 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtc/Makefile.am: Use 'PREINSTALL_FILES ='.
	* network/Makefile.am: Use 'PREINSTALL_FILES ='.
	* serial/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:35:05 +00:00
Joel Sherrill 6846a2f5cf 2001-09-27 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Fixed typo in date.
2001-09-27 21:08:19 +00:00
Joel Sherrill ed13346130 2001-09-14 Joel Sherrill <joel@OARcorp.com>
* network/Makefile.am: Fixed typo on file name.
	* network/i82586.c: Commented out line 318 which is referencing
	a member of a structure that is not currently there.  This
	needs to be worked out with Chris Johns <ccj@acm.org>.
	Switched C++ style comments to C style.
2001-09-21 14:00:06 +00:00
Joel Sherrill 6a9db57002 2001-09-19 Chris Johns <ccj@acm.org>
* network/README.i82586, network/i82586.c, network/i82586reg.h,
	network/i82586var.h: New files.  Network driver for Intel
	i82586.
2001-09-19 17:38:01 +00:00
Joel Sherrill 7ed44167b1 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-05-08 22:59:02 +00:00
Joel Sherrill 7e05b53a62 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* serial/Makefile.am, serial/mc68681.c, serial/ns16550.c,
	serial/serprobe.c, serial/z85c30.c: Now install sersupp.h
	to <libchip/sersupp.h> so libchip style serial drivers can
	be written in libcpu or libbsp.
2001-03-14 19:42:49 +00:00
Joel Sherrill f010a5ee1a 2001-03-01 Joel Sherrill <joel@OARcorp.com>
* network/cs8900.c, network/cs8900.h, network/sonic.c, network/sonic.h,
	rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c,
	rtc/icm7170_reg8.c, rtc/m48t08_reg.c, rtc/m48t08_reg2.c,
	rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, serial/mc68681_reg.c,
	serial/mc68681_reg2.c, serial/mc68681_reg4.c, serial/mc68681_reg8.c,
	serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h,
	serial/z85c30_reg.c: Corrected header.
2001-03-02 18:17:22 +00:00
Joel Sherrill d3795e3ea4 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/Makefile.am, rtc/Makefile.am, serial/Makefile.am:
	Apply include_*HEADERS instead of H_FILES, replace ${..} with $(..).
2001-02-05 18:24:37 +00:00
Joel Sherrill f6ef823a22 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* network/sonic.c: Added ipalign() routine to align the
	received packet so that the ip header is on a 32-bit boundary.
	Necessary for cpu's that do not allow unaligned loads and stores
	and when the 32-bit DMA mode is used.
2000-11-13 22:58:36 +00:00
Joel Sherrill feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill 1f14ff427a 2000-11-03 Chris Johns <ccj@acm.org>
* network/README.cs8900, network/cs8900.c, network/cs8900.h: New files.
	* network/Makefile.am: Modified to reflect above.
2000-11-03 15:19:05 +00:00
Joel Sherrill a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill 2735b82335 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-25 17:00:20 +00:00
Joel Sherrill 461fa1bc95 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* network/dec21140.c: Corrected attach to include "int attach"
	parameter.
2000-10-20 13:11:39 +00:00
Joel Sherrill cd872d9401 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* shmdr/shm_driver.h: Added _AM29K entry.  May not be correct.
2000-09-25 19:05:05 +00:00
Joel Sherrill 8af6d150fa 2000-09-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/Makefile.am: Use AM_*FLAGS += .. .
	* ChangeLog: Fix formating.
2000-09-06 13:26:50 +00:00
Joel Sherrill 1070c61d73 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* network/Makefile.am, rtc/Makefile.am, serial/Makefile.am:
	Include compile.am.
2000-09-05 15:33:02 +00:00
Joel Sherrill e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill f7b46dbfbe Patch rtems-rc-20000616-1-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to use __i386__ instead of __i386 and i386
to be able to compile this file with -ansi.
2000-06-16 15:32:50 +00:00
Joel Sherrill df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill 70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +00:00
Joel Sherrill 95f5adbffd Warning corrections per feedback from Emmanuel Raguet <raguet@crf.canon.fr>. 2000-01-14 15:34:47 +00:00
Joel Sherrill bdb289988a Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct macro
expansion.  These macros were modified to correct warnings and
obviously needed more parentheses to expand correctly.
2000-01-11 16:41:57 +00:00
Joel Sherrill f09ac26862 More warnings removed after email with Emmanuel Raguet. 1999-12-14 13:30:50 +00:00
Joel Sherrill c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill 38b81b5d29 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct some problems
in the dec21140 driver.  Comments follow:

    I have tried to use bootp with the dec21140 driver
    and I had problems. I have found them
         - Ethernet address must be known in Attach step
           (read from the board)
         - Endian problem for Ethernet address storage.

    Now it is solved and I can use bootp to obtain
    the network configuration of the target.
1999-12-13 16:25:03 +00:00
Joel Sherrill a1efd7a98a Made to compile on other CPU families. 1999-12-03 14:48:27 +00:00
Joel Sherrill ae252c92f9 Added dec21140 to Makefile.am. 1999-12-03 14:27:54 +00:00
Joel Sherrill 5a8203085e Modification from Emmanuel Raguet <raguet@crf.canon.fr> to merge the
dec21140 drivers from the i386/pc386 and powerpc/mcp750 (all Motorola
PowerPC boards) and move the network driver to libchip.  This driver
should work on all PCI based uses of this chip.
1999-12-03 13:42:34 +00:00
Joel Sherrill 48bfd99257 Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
1999-11-30 19:58:02 +00:00
Joel Sherrill 9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill 9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill 08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill 2782e69ff0 idir=/opt/tmp/opt/rtems
rdir=/opt/rtems

cd $idir
find . -type f | while read file
do
  if [ ! -f ${file} ] ; then
     echo ${file} missing
  fi
done
1999-10-26 12:39:24 +00:00
Joel Sherrill 235d9e0ed0 Invalid value used for baud rate per bug report from
Jay Kulpinski <jskulpin@eng01.gdds.com>.
1999-10-05 20:59:53 +00:00