Commit Graph

3886 Commits

Author SHA1 Message Date
Joel Sherrill
8437abd4f0 Removed as part of moving this driver to libchip. 1999-12-21 16:56:31 +00:00
Joel Sherrill
400c55255d Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-12-21 16:20:38 +00:00
Joel Sherrill
fb16fed75a Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

    To apply:

        patch -p1 < rtems-rc-19991203-10.diff
1999-12-21 15:25:05 +00:00
Joel Sherrill
9ba1f0a79e Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which  ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

    To apply:
        patch -p1 < rtems-rc-19991203-9.diff
        ./bootstrap
1999-12-21 15:04:48 +00:00
Joel Sherrill
369ef189b2 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does minor cleanup  for Makefile.ams below mptests, which only
removes some bogus comments from the Makefile.ams.

To apply:
  patch -p1 < rtems-rc-19991203-8.diff
  ./bootstrap
1999-12-21 15:00:49 +00:00
Joel Sherrill
35d7b15cb0 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:41:43 +00:00
Joel Sherrill
5bce35ba29 Made prototype of ChapReceiveSuccess and ChapReceiveFailure match. 1999-12-21 14:37:31 +00:00
Joel Sherrill
0fe4834611 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:34:30 +00:00
Joel Sherrill
db3e01084a Patch rtems-rc-19991203-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a nasty dependency bug in optman/Makefile.am. Those
directories have been build twice before, i.e. re-running make after
having built rtems before, was rebuilding the files in optman/
directories.

    To apply:
        patch -p1 < rtems-rc-19991203-6.diff
        ./bootstrap
1999-12-21 14:32:00 +00:00
Joel Sherrill
8b9128277d Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which cleans up and merges some Hitachi SH-2 modifications from
John Mills <jmills@tga.com>.
1999-12-21 14:27:52 +00:00
Joel Sherrill
3ad7602ef2 Modifications to avoid having the size of the Buffer_addresses array
too small when OPERATION_COUNT is less than 10.
1999-12-20 15:21:31 +00:00
Joel Sherrill
947c27aaad Spelling error corrected. 1999-12-16 14:30:34 +00:00
Joel Sherrill
f09ac26862 More warnings removed after email with Emmanuel Raguet. 1999-12-14 13:30:50 +00:00
Joel Sherrill
e8918ec371 Patch from Eric Norum <eric@cls.usask.ca> to change to gen68360 clock handling.
I got tired of having strange clock rates (e.g. #define
    CONFIGURE_MICROSECONDS_PER_TICK 52489) and drifting times-of-day with
    the gen68360 BSP so I changed the way the programmable-interval clock
    interrupt works.  The new version will have some jitter in the intervals
    between individual calls to the rtems_clock_tick routine, but the
    long-term average will match the CONFIGURE_MICROSECONDS_PER_TICK
1999-12-13 22:12:03 +00:00
Joel Sherrill
c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill
da8ae79b3e Warning removal patch from Philip A. Prindeville <philipp@zembu.com>. 1999-12-13 21:21:31 +00:00
Joel Sherrill
1c98d28cb7 Patch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> which
fixes some problems:

    I found the problem which prevented opening 'dev/sci1' (the default
    console) with the 'gensh2' (sh7045) BSP. Both SCI ports were being
    initialized against the same minor device number: '0'. When I tried to
    open minor-device '1', it naturally crashed. Fixing that one value in the
    'sci_device[]' array solved the problem and allowed 'hello.exe' to run.
1999-12-13 20:35:09 +00:00
Joel Sherrill
1d5039fe81 *** empty log message *** 1999-12-13 20:30:53 +00:00
Joel Sherrill
f9669ce59e Patch from Silverio Diquigiovanni <silverio.di@qem.it> to correct
TPC values.  Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
who originally submitted the file.
1999-12-13 20:06:27 +00:00
Joel Sherrill
fc0b91c5d5 Patch from Eric Norum <eric@cls.usask.ca> to make the NTP handler a little
more flexible about the error status returned from a timeout.
1999-12-13 19:20:38 +00:00
Joel Sherrill
5dae90a524 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 17:37:25 +00:00
Joel Sherrill
6b79a071de Patch from Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> to
use correct ifdef conditional (__GNUC__ not __GCC__).
1999-12-13 17:22:18 +00:00
Joel Sherrill
809f445197 Correction from Eric Norum for timeout in TFTP driver following bug
report by Nick.SIMON@syntegra.bt.co.uk:

TFTP uses UDP and UDP packets are prime targets for getting dropped when
the network gets busy.  I want the number of retries quite large in my
application. I see that PACKET_REPLY_MILLISECONDS is, in fact, not
being used.
1999-12-13 17:03:37 +00:00
Joel Sherrill
9537e5ec77 Patch from Eric Norum <eric@cls.usask.ca> to provide more network
functionality.  This puts RTEMS in near compliance with the network
functionality defined in the first draft of the EL/IX API.  Comments
follow:

    With the attached changes to the libnetworking/libc/Makefile.in, RTEMS
    provides all the functions listed in section 4.14 of the EL/IX document
    except:
        socketpair
        if_nametoindex
        if_indextoname
        if_nameindex
        if_freenameindex

    Some of the routines which get information from files may be of limited
    use unless an application sets up the files somehow (TFTP/untar from
    host, etc.), but at least RTEMS is pretty much fully buzzword compliant
    with the networking section of the EL/IX API.
1999-12-13 16:29:01 +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
4bdebdfe38 Patch rtems-rc-19991203-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>"""
which is an adaptation of a patch from Ian Lance Taylor plus a few
other changes that should significantly speed up building librtemsall.a.
1999-12-13 16:16:44 +00:00
Joel Sherrill
ad0c286463 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 16:02:57 +00:00
Joel Sherrill
fa178d4926 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 15:57:41 +00:00
Joel Sherrill
d16faa2e60 Patch rtems-rc-19991203-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to correct the missing part of the mcp750 patch.
1999-12-13 15:54:23 +00:00
Joel Sherrill
7d91d722ba First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore.  This is at the request of Eric Norum
and his EPICS porting effort.
1999-12-13 15:29:20 +00:00
Joel Sherrill
e906798937 Corrected order of output. 1999-12-13 14:50:09 +00:00
Joel Sherrill
d9230ea9c0 Added RTEMS_IO_ERROR. 1999-12-13 14:49:38 +00:00
Joel Sherrill
49be66d2cf Now builds and installs properly. 1999-12-13 14:48:58 +00:00
Joel Sherrill
000a9a9784 Patch rtems-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to generalize librdbg for all i386 BSPs.  His comments:

  The patch below generalizes librdbg for all i386 bsps. It is not a
  complete rewrite, but a minimal invasive attempt to generalization.

  To apply:

    mv c/src/librdbg/src/i386/pc386 c/src/librdbg/src/i386/any
    patch -p1 < patches-rc-19991203-1.diff
    ./bootstrap
1999-12-13 14:48:17 +00:00
Joel Sherrill
39e6bbe1aa Patch patches-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which makes i386 code available for all BSPs not just pc386.  This is correct
since the code is really general to all i386 BSPs now.
1999-12-06 13:44:56 +00:00
Joel Sherrill
cfa1851911 changed version to 19991203 1999-12-03 17:39:54 +00:00
Joel Sherrill
c30972f7e3 changed version to 19991203 1999-12-03 17:00:25 +00:00
Joel Sherrill
da4ad63531 changed version to 19991203 1999-12-03 16:01:01 +00:00
Joel Sherrill
a548c8a5f2 New file. 1999-12-03 16:00:51 +00:00
Joel Sherrill
76c356f365 Patch from Aleksey (Quality Quorum <qqi@world.std.com>) to change the
delay loop in this BSP.  Here is his response to a question about
the patch:

    Yes, or that other machine has a different chipset with different
    timing requirements on enabling Gate 20. I am strongly suspecting
    that it may some how related to the video card I am using (on my
    old P-75 target it was plain PCI VGA, on my new one it is Diamond Stealth
    3D 2000).
1999-12-03 15:46:17 +00:00
Joel Sherrill
1e4a7d413d Modem example driver for ppp by Tomasz Domin <dot@comarch.pl> of ComArch SA.
This was used on a mpc823 based system.
1999-12-03 15:44:28 +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
eb17041fbb Removed warnings. 1999-12-03 14:01:11 +00:00
Joel Sherrill
ad9a21ad84 New file. 1999-12-03 13:53:01 +00:00
Joel Sherrill
a0a6f67fe7 Added more timing information. 1999-12-03 13:48:53 +00:00
Joel Sherrill
5707fe9b41 New file based on information from <valette@crf.canon.fr>. 1999-12-03 13:46:13 +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
fc81cc9933 Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:31:56 +00:00
Joel Sherrill
4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00