Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch from Eric Valette <valette@crf.canon.fr>: | Joel Sherrill | 1998-08-19 | 2 | -53/+49 |
| | | | | | | | - Use the "hlt" instruction for the Idle thread, - Optimise interrupt PATH leadding to thread wakeup, - Preparation for Intel exception management that should come before the end of the week... | ||||
* | Patch from Aleksey <qqi@world.std.com>: | Joel Sherrill | 1998-08-19 | 2 | -10/+45 |
| | | | | | | | | | | | | This patch has same changes as one I sent to you earlier plus it fixes _heap_size problem for pc386 we had discussed earlier. Now, _heap_size is defined and set to 0 in pc386/startup/bspstart.c It can be patched to desireable value in binary image. If it is left unpatched, then startup code will determine size of memory (on the assumption that at least 2MB are present) and use max possible heap. | ||||
* | Patch from Aleksey <qqi@world.std.com>: | Joel Sherrill | 1998-08-19 | 8 | -21/+34 |
| | | | | | | It fixes netboot build problem, KA9Q configuration for pc386, some compiler wardning, it also removed some stuff ifdef'ed with '#if 0'. | ||||
* | If 0 out the code which touches the chip in questionable ways for processing | Joel Sherrill | 1998-08-14 | 1 | -0/+6 |
| | | | | a giant packet. | ||||
* | Changed tm27 clear interrupt macro on all PPC BSPs except the papyrus. | Joel Sherrill | 1998-08-14 | 1 | -0/+5 |
| | |||||
* | Added information on caching. | Joel Sherrill | 1998-08-14 | 1 | -0/+13 |
| | |||||
* | Updated. | Joel Sherrill | 1998-08-14 | 1 | -1/+1 |
| | |||||
* | Fixed version reference | Joel Sherrill | 1998-08-13 | 1 | -1/+1 |
| | |||||
* | Updated. | Joel Sherrill | 1998-08-13 | 1 | -181/+179 |
| | |||||
* | base line -- copied from erc32 | Joel Sherrill | 1998-08-13 | 1 | -0/+193 |
| | |||||
* | Enable TX interrupts only when we need TDAs. | Joel Sherrill | 1998-08-13 | 1 | -1/+0 |
| | |||||
* | Cleaned up some debugging stuff. | Joel Sherrill | 1998-08-13 | 1 | -23/+15 |
| | | | | Redid interrupt handler to read imr/isr once and to write the imr once. | ||||
* | Removed spurious prints and cleaned up XXX. | Joel Sherrill | 1998-08-12 | 1 | -11/+10 |
| | |||||
* | Added more debug information. There are probably debug prints left in. | Joel Sherrill | 1998-08-12 | 1 | -24/+53 |
| | | | | | Fixed one important bug. After wrapping the RX Descriptors all had the EOL bit set which resulted in everything slowing down massively. | ||||
* | Fixed bug where the last link of the RDA was not initialized properly. | Joel Sherrill | 1998-08-12 | 1 | -15/+30 |
| | |||||
* | Added SONIC_DEBUG_DESCRIPTORS and changed debug level. | Joel Sherrill | 1998-08-11 | 1 | -3/+11 |
| | |||||
* | Survives 16-20 packets. Appears to be ok on TX buffer management. | Joel Sherrill | 1998-08-10 | 1 | -11/+16 |
| | | | | Problem appears to be on the RX buffer initialization side. | ||||
* | Added prints | Joel Sherrill | 1998-08-10 | 1 | -1/+2 |
| | |||||
* | Can now reply to multiple successive pings successfully without being in | Joel Sherrill | 1998-08-10 | 2 | -29/+22 |
| | | | | | | promiscuous mode. It still dies somewhere between 16 and 20 pings. | ||||
* | replies to ping -- forced into prosmiscuous mode | Joel Sherrill | 1998-08-10 | 1 | -13/+21 |
| | |||||
* | Reordered some stuff. | Joel Sherrill | 1998-08-08 | 1 | -7/+10 |
| | |||||
* | Corrected spacing. | Joel Sherrill | 1998-08-08 | 1 | -1/+1 |
| | |||||
* | Changed debug level. | Joel Sherrill | 1998-08-08 | 2 | -36/+96 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Removed SonicRegisters structure since we now use register indices | Joel Sherrill | 1998-08-06 | 1 | -83/+15 |
| | | | | | | | | and access routines. Added revision constants. Added in_use and EOL field values. | ||||
* | Enabled specific types of debug info. | Joel Sherrill | 1998-08-06 | 1 | -31/+55 |
| | | | | | | | | | | | | 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. | ||||
* | Changed debug enable macros to support individually enabling different | Joel Sherrill | 1998-08-06 | 1 | -15/+30 |
| | | | | | | | types of debug information. Removed call to rtems_panic which was based on checking a variable which was no longer being set. | ||||
* | Card Resource Register was a 16-bit register not a 32-bit one. | Joel Sherrill | 1998-08-06 | 5 | -28/+36 |
| | | | | Used existing constants for bits on the register. | ||||
* | Added support for the Card Resource Register. The new probe routines | Joel Sherrill | 1998-08-06 | 5 | -8/+107 |
| | | | | | 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. | ||||
* | Added constants which made the multiple bit settings more readable | Joel Sherrill | 1998-08-05 | 1 | -0/+25 |
| | | | | for the Data Configuration Register (DCR). | ||||
* | DCR setting changed to match what the DY-4 Firmware initialized it to. | Joel Sherrill | 1998-08-05 | 1 | -135/+259 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Patch from Eric Valette <valette@crf.canon.fr> which brings the i386ex BSP | Joel Sherrill | 1998-08-05 | 21 | -70/+354 |
| | | | | inline with the new IRQ structure. | ||||
* | Automatic CPU type detection code from Eric Valette <valette@crf.canon.fr>. | Joel Sherrill | 1998-08-05 | 7 | -22/+27 |
| | | | | Enabled on the pc386. | ||||
* | Fixed name of Buffer so this would compile. | Joel Sherrill | 1998-08-05 | 1 | -3/+3 |
| | |||||
* | Switched to read/write register routines and added some basic debug | Joel Sherrill | 1998-08-03 | 2 | -332/+473 |
| | | | | help. | ||||
* | Changed name of network driver. | Joel Sherrill | 1998-07-30 | 1 | -1/+1 |
| | |||||
* | Added temporary include of dmv170.h | Joel Sherrill | 1998-07-30 | 1 | -0/+6 |
| | |||||
* | Added SONIC configuration information. | Joel Sherrill | 1998-07-30 | 1 | -0/+9 |
| | |||||
* | Added a hint to continue writing this. | Joel Sherrill | 1998-07-30 | 1 | -0/+2 |
| | |||||
* | Added getRealTime() and setRealTime(). | Joel Sherrill | 1998-07-30 | 2 | -18/+99 |
| | | | | Reimplemented checkRealTime() to use RTEMS internal routine. | ||||
* | Changed clock rate from 32 Khz to 1 Mhz. | Joel Sherrill | 1998-07-30 | 2 | -6/+6 |
| | | | | Registers are at 8 byte boundaries NOT 4 as initially configured. | ||||
* | Changed comment to be more polite. | Joel Sherrill | 1998-07-30 | 1 | -1/+1 |
| | |||||
* | Updating to make more readable. | Joel Sherrill | 1998-07-30 | 1 | -28/+8 |
| | |||||
* | Spacing corrected. | Joel Sherrill | 1998-07-30 | 1 | -1/+0 |
| | |||||
* | New file based on email from DY-4 technical support. | Joel Sherrill | 1998-07-30 | 1 | -0/+62 |
| | |||||
* | Fixed spacing. | Joel Sherrill | 1998-07-30 | 1 | -1/+0 |
| | |||||
* | Updated to accurately reflect the dmv177. | Joel Sherrill | 1998-07-30 | 1 | -22/+21 |
| | |||||
* | Made chain.h shared | Joel Sherrill | 1998-07-30 | 2 | -355/+1 |
| | |||||
* | Made tod.h shared | Joel Sherrill | 1998-07-30 | 2 | -1/+2 |
| | |||||
* | New file. Based on merged of shared libchip style console.c and the | Joel Sherrill | 1998-07-29 | 1 | -0/+187 |
| | | | | existing TOD interface. | ||||
* | Cleaned up comment. | Joel Sherrill | 1998-07-29 | 1 | -4/+5 |
| | | | | Modified open so it uses a local variable rather than modifying a parameter. |