OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1ksim/] [peripheral/] [eth.h] - Diff between revs 428 and 434

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

Rev 428 Rev 434
Line 25... Line 25...
 
 
 
 
#ifndef ETH__H
#ifndef ETH__H
#define ETH__H
#define ETH__H
 
 
#if HAVE_ETH_PHY
 
#include <netpacket/packet.h>
 
#endif /* HAVE_ETH_PHY */
 
 
 
#if HAVE_NET_ETHERNET_H
#if HAVE_NET_ETHERNET_H
# include <net/ethernet.h>
# include <net/ethernet.h>
#elif defined(HAVE_SYS_ETHERNET_H)
#elif defined(HAVE_SYS_ETHERNET_H)
# include <sys/ethernet.h>
# include <sys/ethernet.h>
#else /* !HAVE_NET_ETHERNET_H && !HAVE_SYS_ETHERNET_H - */
#else /* !HAVE_NET_ETHERNET_H && !HAVE_SYS_ETHERNET_H - */
Line 256... Line 252...
#define ETH_RXSTATE_WAIT4BD     10
#define ETH_RXSTATE_WAIT4BD     10
#define ETH_RXSTATE_RECV        20
#define ETH_RXSTATE_RECV        20
#define ETH_RXSTATE_WRITEFIFO   30
#define ETH_RXSTATE_WRITEFIFO   30
 
 
#define ETH_RTX_FILE    0
#define ETH_RTX_FILE    0
#define ETH_RTX_SOCK    1
#define ETH_RTX_TAP     1
#define ETH_RTX_VAPI    2
#define ETH_RTX_VAPI    2
 
 
#define ETH_MAXPL   0x10000
#define ETH_MAXPL   0x10000
 
 
enum
enum

powered by: WebSVN 2.1.0

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