summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-02-05Split SONIC chip into appropriate files for libchip'ing. The portableJoel Sherrill1-1761/+0
portion is now in the libchip tree and the dmv177 configuration is in the dmv177 bsp. The performance impact of libchip'ing this driver was minimal.
1999-02-04Reorganized into libchip style but not yet split out into multiple filesJoel Sherrill1-152/+206
and placed in the right shareable directories.
1999-02-04Works great now.Joel Sherrill1-10/+27
1999-02-02Added debug print routines for TX and RX descriptors.Joel Sherrill1-65/+89
Fixed bug where only the mbuf associated with the first TX fragment was being freed.
1999-01-31Can send and receive packets but fails when TDA wraps. There appearsJoel Sherrill1-45/+112
to be a problem with overwriting the TX descriptors during an RX.
1998-10-26Merged base line score603e BSPJoel Sherrill1-28/+28
1998-09-11Updates to tree to make it build with all desired changes and the conversionJoel Sherrill1-408/+453
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
1998-08-14If 0 out the code which touches the chip in questionable ways for processingJoel Sherrill1-0/+6
a giant packet.
1998-08-13Enable TX interrupts only when we need TDAs.Joel Sherrill1-1/+0
1998-08-13Cleaned up some debugging stuff.Joel Sherrill1-23/+15
Redid interrupt handler to read imr/isr once and to write the imr once.
1998-08-12Removed spurious prints and cleaned up XXX.Joel Sherrill1-11/+10
1998-08-12Added more debug information. There are probably debug prints left in.Joel Sherrill1-24/+53
Fixed one important bug. After wrapping the RX Descriptors all had the EOL bit set which resulted in everything slowing down massively.
1998-08-12Fixed bug where the last link of the RDA was not initialized properly.Joel Sherrill1-15/+30
1998-08-11Added SONIC_DEBUG_DESCRIPTORS and changed debug level.Joel Sherrill1-3/+11
1998-08-10Survives 16-20 packets. Appears to be ok on TX buffer management.Joel Sherrill1-11/+16
Problem appears to be on the RX buffer initialization side.
1998-08-10Added printsJoel Sherrill1-1/+2
1998-08-10Can now reply to multiple successive pings successfully without being inJoel Sherrill1-23/+18
promiscuous mode. It still dies somewhere between 16 and 20 pings.
1998-08-10replies to ping -- forced into prosmiscuous modeJoel Sherrill1-13/+21
1998-08-08Reordered some stuff.Joel Sherrill1-7/+10
1998-08-08Changed debug level.Joel Sherrill1-36/+84
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-06Enabled specific types of debug info.Joel Sherrill1-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.
1998-08-06Changed debug enable macros to support individually enabling differentJoel Sherrill1-15/+30
types of debug information. Removed call to rtems_panic which was based on checking a variable which was no longer being set.
1998-08-05DCR setting changed to match what the DY-4 Firmware initialized it to.Joel Sherrill1-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.
1998-08-03Switched to read/write register routines and added some basic debugJoel Sherrill1-94/+195
help.
1998-07-30Added temporary include of dmv170.hJoel Sherrill1-0/+6
1998-05-30New files -- from rtems-LM-980406 which was based on an RTEMS from 12/97.Joel Sherrill1-0/+1176
This was called the dmv170 BSP in that source tree but since the DMV171 is now obsolete, we have transitioned to the DMV177 and have no intention of checking compatibility with any other models.