Commit Graph

1656 Commits

Author SHA1 Message Date
Joel Sherrill
3fbd528781 Added prints 1998-08-10 22:23:33 +00:00
Joel Sherrill
7344fba988 Can now reply to multiple successive pings successfully without being in
promiscuous mode.

It still dies somewhere between 16 and 20 pings.
1998-08-10 21:45:01 +00:00
Joel Sherrill
c153a7bd9e replies to ping -- forced into prosmiscuous mode 1998-08-10 21:27:33 +00:00
Joel Sherrill
0c0419a1f1 Reordered some stuff. 1998-08-08 17:57:23 +00:00
Joel Sherrill
18c2320c6e changed version to 980808 1998-08-08 16:51:16 +00:00
Joel Sherrill
870284d103 Corrected spacing. 1998-08-08 16:37:43 +00:00
Joel Sherrill
301a2a3c0b Changed debug level.
Moved CAM Descriptor types to sonic.h.

CAM memory is now malloced to insure it shares the same upper address bits.

Removed increment of RX interrupt count on TX interrupt path.

Added SONIC_DEBUG_FRAGMENTS and SONIC_DEBUG_CAM conditionals.

Fixed bugs in fragment manipulation.  First bug was that the pad overwrote
the last fragment.  The second bug was that the link information overwrote
the size of the last fragment.

Rewrote initialization of TDA to simplify it.
1998-08-08 16:37:25 +00:00
Joel Sherrill
7e2187f4ad changed version to 9800808 1998-08-08 16:26:35 +00:00
Joel Sherrill
13451a384b Removed SonicRegisters structure since we now use register indices
and access routines.

Added revision constants.

Added in_use and EOL field values.
1998-08-06 19:01:03 +00:00
Joel Sherrill
e70a8f16b5 Enabled specific types of debug info.
Added pointer to RDA to sonic structure.

Added macro names for values used in the in_use field of RDA entries.

Rewrote the RX Descriptor Area initialization loop.

Added a check to barf if this is a Rev B sonic chip.

Enabled check that the CAM was properly loaded.
1998-08-06 19:01:02 +00:00
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