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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_36/] [or1ksim/] [peripheral/] [ethernet_i.h] - Diff between revs 1350 and 1372

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

Rev 1350 Rev 1372
Line 129... Line 129...
struct eth_device
struct eth_device
{
{
  /* Base address in memory */
  /* Base address in memory */
  oraddr_t baseaddr;
  oraddr_t baseaddr;
 
 
  /* Which Ethernet MAC is this? */
 
  unsigned eth_number;
 
 
 
  /* Which DMA controller is this MAC connected to */
  /* Which DMA controller is this MAC connected to */
  unsigned dma;
  unsigned dma;
        unsigned tx_channel;
        unsigned tx_channel;
        unsigned rx_channel;
        unsigned rx_channel;
 
 
Line 147... Line 144...
 
 
  /* VAPI ID */
  /* VAPI ID */
  unsigned long base_vapi_id;
  unsigned long base_vapi_id;
 
 
  /* RX and TX file names and handles */
  /* RX and TX file names and handles */
  const char *rxfile, *txfile;
  char *rxfile, *txfile;
        int txfd;
        int txfd;
        int rxfd;
        int rxfd;
        off_t loopback_offset;
        off_t loopback_offset;
 
 
 
  /* Socket interface name */
 
  char *sockif;
 
 
    int rtx_sock;
    int rtx_sock;
    int rtx_type;
    int rtx_type;
    struct ifreq ifr;
    struct ifreq ifr;
    fd_set rfds, wfds;
    fd_set rfds, wfds;
 
 

powered by: WebSVN 2.1.0

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