summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-08 16:37:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-08 16:37:25 +0000
commit301a2a3c0b46df149e0194b6742cdafc196a6656 (patch)
tree9091de0e84c7489a5196fa472100ad963e5f4d4e /c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h
parentchanged version to 9800808 (diff)
downloadrtems-301a2a3c0b46df149e0194b6742cdafc196a6656.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h b/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h
index 596a1be4f8..0a66f34a0e 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.h
@@ -332,6 +332,18 @@ struct ReceiveDescriptor {
typedef struct ReceiveDescriptor ReceiveDescriptor_t;
typedef volatile ReceiveDescriptor_t *ReceiveDescriptorPointer_t;
+typedef struct {
+ struct {
+ rtems_unsigned32 cep; /* CAM Entry Pointer */
+ rtems_unsigned32 cap0; /* CAM Address Port 0 xx-xx-xx-xx-YY-YY */
+ rtems_unsigned32 cap1; /* CAM Address Port 1 xx-xx-YY-YY-xxxx */
+ rtems_unsigned32 cap2; /* CAM Address Port 2 YY-YY-xx-xx-xx-xx */
+ } desc[16];
+ rtems_unsigned32 ce;
+} CamDescriptor_t;
+
+typedef volatile CamDescriptor_t *CamDescriptorPointer_t;
+
/*
* Receive status
*/