OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [peripheral/] [ethernet.h] - Diff between revs 257 and 324

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 257 Rev 324
Line 144... Line 144...
        unsigned tx_channel;
        unsigned tx_channel;
        unsigned rx_channel;
        unsigned rx_channel;
 
 
  /* RX and TX file names and handles */
  /* RX and TX file names and handles */
  const char *rxfile, *txfile;
  const char *rxfile, *txfile;
        FILE *txfs;
        int txfd;
        FILE *rxfs;
        int rxfd;
 
        off_t loopback_offset;
 
 
        /* Current TX state */
        /* Current TX state */
        struct
        struct
        {
        {
                unsigned long bd_index;
                unsigned long bd_index;
Line 163... Line 164...
 
 
        /* Current RX state */
        /* Current RX state */
        struct
        struct
        {
        {
                unsigned long bd_index;
                unsigned long bd_index;
                unsigned working;
                unsigned long bd;
 
                int fd;
 
                off_t *offset;
 
                unsigned working, error, waiting_for_ack;
 
                unsigned packet_length, bytes_read, bytes_left;
        } rx;
        } rx;
 
 
  /* Visible registers */
  /* Visible registers */
  struct
  struct
  {
  {

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.