URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 406 |
Rev 418 |
Line 106... |
Line 106... |
/* Current TX state */
|
/* Current TX state */
|
struct
|
struct
|
{
|
{
|
unsigned long bd_index;
|
unsigned long bd_index;
|
unsigned long bd;
|
unsigned long bd;
|
unsigned working, waiting_for_ack, error;
|
unsigned working, waiting_for_dma, error;
|
unsigned packet_length;
|
unsigned packet_length;
|
unsigned minimum_length, maximum_length;
|
unsigned minimum_length, maximum_length;
|
unsigned add_crc;
|
unsigned add_crc;
|
unsigned long crc_value;
|
unsigned long crc_value;
|
unsigned bytes_left, bytes_sent;
|
unsigned bytes_left, bytes_sent;
|
Line 121... |
Line 121... |
{
|
{
|
unsigned long bd_index;
|
unsigned long bd_index;
|
unsigned long bd;
|
unsigned long bd;
|
int fd;
|
int fd;
|
off_t *offset;
|
off_t *offset;
|
unsigned working, error, waiting_for_ack;
|
unsigned working, error, waiting_for_dma;
|
unsigned packet_length, bytes_read, bytes_left;
|
unsigned packet_length, bytes_read, bytes_left;
|
} rx;
|
} rx;
|
|
|
/* Visible registers */
|
/* Visible registers */
|
struct
|
struct
|
Line 136... |
Line 136... |
unsigned long ipgt;
|
unsigned long ipgt;
|
unsigned long ipgr1;
|
unsigned long ipgr1;
|
unsigned long ipgr2;
|
unsigned long ipgr2;
|
unsigned long packetlen;
|
unsigned long packetlen;
|
unsigned long collconf;
|
unsigned long collconf;
|
unsigned long rx_bd_num;
|
unsigned long tx_bd_num;
|
unsigned long controlmoder;
|
unsigned long controlmoder;
|
unsigned long miimoder;
|
unsigned long miimoder;
|
unsigned long miicommand;
|
unsigned long miicommand;
|
unsigned long miiaddress;
|
unsigned long miiaddress;
|
unsigned long miitx_data;
|
unsigned long miitx_data;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.