Commit Graph

1596 Commits

Author SHA1 Message Date
Joel Sherrill
e995f3a1ac Changed debug enable macros to support individually enabling different
types of debug information.

Removed call to rtems_panic which was based on checking a variable which
was no longer being set.
1998-08-06 15:27:08 +00:00
Joel Sherrill
c23118b036 Card Resource Register was a 16-bit register not a 32-bit one.
Used existing constants for bits on the register.
1998-08-06 15:05:59 +00:00
Joel Sherrill
308e18c397 Added support for the Card Resource Register. The new probe routines
check for the presence of the DUART, SCC, and RTC.  The SONIC check
needs to be added in the future as the network driver is libchip'ed.
1998-08-06 00:24:52 +00:00
Joel Sherrill
0eb85ae3e7 Commented out the code which yields the CPU when the serial controller is
busy.  This type of behavior perturbs the tests and many of them will
not pass.
1998-08-05 23:57:35 +00:00
Joel Sherrill
d4bf16c50f Added constants which made the multiple bit settings more readable
for the Data Configuration Register (DCR).
1998-08-05 23:56:48 +00:00
Joel Sherrill
dddc0557e5 DCR setting changed to match what the DY-4 Firmware initialized it to.
This primarily included setting the state of the programmable outputs
and the RX and TX FIFO depths.

Moved all of the TX, RX, and RRA data structure initialization to before
the hardware initialization.  As part of this, the hardware initialization
was consolidated.  More than likely, some of this movement broke stuff.

Used constants added to sonic.h which gave more logical names to some
of the register bit settings.

Switched to calloc to insure the data areas where initialized to 0.

Commented out a panic check in the RX server which may or may not have
been right.

Increased the size of the CAM initialization area.  It is possible
that this could be decreased or code added to handle the management
of multiple hardware addresses.

Added sonic read and write register routines which aid greatly in
debugging and provide the core for the eventual movement of this
driver to libchip.

Added debug code to the read and write register routines which can
print the value read from or written to a register.  This code also
prints the register name which significantly eases reading the log.
1998-08-05 23:56:13 +00:00
Joel Sherrill
bd8c8b2a85 Patch from Eric Valette <valette@crf.canon.fr> which brings the i386ex BSP
inline with the new IRQ structure.
1998-08-05 16:51:39 +00:00
Joel Sherrill
ab0df696d0 Automatic CPU type detection code from Eric Valette <valette@crf.canon.fr>.
Enabled on the pc386.
1998-08-05 15:15:46 +00:00
Joel Sherrill
50947110ec Fixed name of Buffer so this would compile. 1998-08-05 15:12:03 +00:00
Joel Sherrill
4d11a92f3e Redid Makefiles to properly do a preinstall. There was remnants of the
old way of setting th cpu family and model string names.
1998-08-05 15:11:33 +00:00
Joel Sherrill
b31fdf8d03 Added print of the order in which the directories are preinstalled. 1998-08-05 15:10:18 +00:00
Joel Sherrill
7fc5d54e27 Switched to read/write register routines and added some basic debug
help.
1998-08-03 21:01:21 +00:00
Joel Sherrill
92ef2252b8 Under allcoated task stacks. 1998-08-03 15:06:27 +00:00
Joel Sherrill
93e3b8a36e Moved to network demos 1998-08-01 15:01:59 +00:00
Joel Sherrill
8c6e195ae3 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make ASFLAGS include the
CPU_ASFLAGS.
1998-08-01 14:41:45 +00:00
Joel Sherrill
906577f4f6 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to not use this file for
ColdFires.  It is just too wrong to fix.
1998-08-01 14:41:20 +00:00
Joel Sherrill
5ef4fae650 Merged patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to add ColdFire
specific register macros and correct code in rtems.s.
1998-08-01 14:40:51 +00:00
Joel Sherrill
f177865318 Added Rod Barman (rodb@cs.ubc.ca) in credits for ColdFire. 1998-08-01 14:39:24 +00:00
Joel Sherrill
2889189580 Changed name of network driver. 1998-07-30 22:57:21 +00:00
Joel Sherrill
fa6552075f Added temporary include of dmv170.h 1998-07-30 22:57:12 +00:00
Joel Sherrill
4fbf114e90 Added SONIC configuration information. 1998-07-30 22:56:56 +00:00
Joel Sherrill
56392179dd Added a hint to continue writing this. 1998-07-30 22:56:17 +00:00
Joel Sherrill
d9bc023acf Updated. 1998-07-30 21:30:46 +00:00
Joel Sherrill
509dc7c18d Added getRealTime() and setRealTime().
Reimplemented checkRealTime() to use RTEMS internal routine.
1998-07-30 21:27:51 +00:00
Joel Sherrill
91af3e499b Changed clock rate from 32 Khz to 1 Mhz.
Registers are at 8 byte boundaries NOT 4 as initially configured.
1998-07-30 21:27:01 +00:00
Joel Sherrill
a47bca7cb1 Changed comment to be more polite. 1998-07-30 21:26:25 +00:00
Joel Sherrill
8e992e1cea Updating to make more readable. 1998-07-30 21:26:11 +00:00
Joel Sherrill
192a1e0af2 New files. 1998-07-30 19:51:03 +00:00
Joel Sherrill
1aa41860d8 Spacing corrected. 1998-07-30 19:41:46 +00:00
Joel Sherrill
1a256e3f3d New file based on email from DY-4 technical support. 1998-07-30 19:41:41 +00:00
Joel Sherrill
1c5f4e1457 Fixed spacing. 1998-07-30 19:26:47 +00:00
Joel Sherrill
8751f800c5 Updated to accurately reflect the dmv177. 1998-07-30 19:25:54 +00:00
Joel Sherrill
41d0743964 Patch from Eric Valette <valette@crf.canon.fr>:
Now that Joel told me how to compile outside the tree,
    I have found a few more bugs. Here is a small patch
    to fix them.
1998-07-30 18:06:51 +00:00
Joel Sherrill
7fd864163f Made chain.h shared 1998-07-30 16:07:54 +00:00
Joel Sherrill
3fdde4ce27 Made tod.h shared 1998-07-30 16:05:14 +00:00
Joel Sherrill
02733a9613 New file. Based on merged of shared libchip style console.c and the
existing TOD interface.
1998-07-29 00:38:51 +00:00
Joel Sherrill
acac0e8b42 Cleaned up comment.
Modified open so it uses a local variable rather than modifying a parameter.
1998-07-29 00:38:14 +00:00
Joel Sherrill
6a0f5ac2ed Added reference to shared TOD driver. 1998-07-29 00:37:37 +00:00
Joel Sherrill
c95e927ca9 Added prototype for default register access routines to header files.
Corrected prototypes to reflect unsigned32 values being passed around
instead of unsigned8's.
1998-07-29 00:18:11 +00:00
Joel Sherrill
ee306fde14 Corrected to reflect the ICM7170 which is really on this board. 1998-07-29 00:17:01 +00:00
Joel Sherrill
55dcdfdcfe Added config.c and deleted tod.c. 1998-07-29 00:16:44 +00:00
Joel Sherrill
e74735b290 Simplified RTC base address. 1998-07-29 00:16:32 +00:00
Joel Sherrill
5217d5aa05 Changed cast on RTC address and added base address of RTC fields as opposed
to entire RTC with NVRAM included.
1998-07-29 00:16:11 +00:00
Joel Sherrill
fb339a8ed3 Deleted probe routine as device specific.
Renamed port table.
1998-07-29 00:04:02 +00:00
Joel Sherrill
866c9dd5b6 Added function table. 1998-07-29 00:03:12 +00:00
Joel Sherrill
cb5e6f681d Renamed control register constants.
Set time->ticks to 0.

Added function table.
1998-07-29 00:03:07 +00:00
Joel Sherrill
1177cda0d3 New files for Harris Semiconductor ICM7170. 1998-07-29 00:02:11 +00:00
Joel Sherrill
8d6e7120d5 New files. 1998-07-29 00:01:56 +00:00
Joel Sherrill
677943a93e Added new files. 1998-07-29 00:01:44 +00:00
Joel Sherrill
9968efbc7e First cut at configuration table for libchip RTC. At this point, we
are pretending that the DMV177 has an M48T08.
1998-07-28 23:16:34 +00:00