Go to the source code of this file.
#define GRETH_BD_EN 0x800 |
#define GRETH_BD_IE 0x2000 |
#define GRETH_BD_LEN 0x7FF |
#define GRETH_BD_WR 0x1000 |
#define GRETH_CTRL_DISDUPLEX 0x1000 |
#define GRETH_CTRL_FD 0x10 |
#define GRETH_CTRL_GB 0x100 |
#define GRETH_CTRL_MCEN 0x800 |
#define GRETH_CTRL_PR 0x20 |
#define GRETH_CTRL_PSTATIEN 0x400 |
#define GRETH_CTRL_SP 0x80 |
#define GRETH_MII_BUSY 0x8 |
#define GRETH_MII_NVALID 0x10 |
#define GRETH_RX_BUF_SIZE 2048 |
#define GRETH_RXBD_ERR_AE 0x4000 |
#define GRETH_RXBD_ERR_CRC 0x10000 |
#define GRETH_RXBD_ERR_FT 0x8000 |
#define GRETH_RXBD_ERR_LE 0x40000 |
#define GRETH_RXBD_ERR_OE 0x20000 |
#define GRETH_RXBD_IP 0x80000 |
#define GRETH_RXBD_IP_CSERR 0x100000 |
#define GRETH_RXBD_IP_FRAG 0x2000000 |
#define GRETH_RXBD_MCAST 0x4000000 |
#define GRETH_RXBD_NUM 128 |
#define GRETH_RXBD_STATUS 0xFFFFC000 |
#define GRETH_RXBD_TCP 0x800000 |
#define GRETH_RXBD_TCP_CSERR 0x1000000 |
#define GRETH_RXBD_UDP 0x200000 |
#define GRETH_RXBD_UDP_CSERR 0x400000 |
#define GRETH_STATUS_PHYSTAT 0x100 |
#define GRETH_TX_BUF_SIZE 2048 |
#define GRETH_TXBD_ERR_AL 0x8000 |
#define GRETH_TXBD_ERR_LC 0x10000 |
#define GRETH_TXBD_ERR_UE 0x4000 |
#define GRETH_TXBD_IPCS 0x40000 |
#define GRETH_TXBD_MORE 0x20000 |
#define GRETH_TXBD_NUM 128 |
#define GRETH_TXBD_STATUS 0x0001C000 |
#define GRETH_TXBD_TCPCS 0x80000 |
#define GRETH_TXBD_UDPCS 0x100000 |
#define MAX_FRAME_SIZE 1520 |