27 volatile uint32_t ctrl;
28 volatile uint32_t status;
29 volatile uint32_t mac_addr_msb;
30 volatile uint32_t mac_addr_lsb;
31 volatile uint32_t mdio_ctrl;
32 volatile uint32_t txdesc;
33 volatile uint32_t rxdesc;
36 #define GRETH_TOTAL_BD 128 37 #define GRETH_MAXBUF_LEN 1520 40 #define GRETH_TXD_ENABLE 0x0800 41 #define GRETH_TXD_WRAP 0x1000 42 #define GRETH_TXD_IRQ 0x2000 43 #define GRETH_TXD_MORE 0x20000 44 #define GRETH_TXD_IPCS 0x40000 45 #define GRETH_TXD_TCPCS 0x80000 46 #define GRETH_TXD_UDPCS 0x100000 48 #define GRETH_TXD_UNDERRUN 0x4000 49 #define GRETH_TXD_RETLIM 0x8000 50 #define GRETH_TXD_LATECOL 0x10000 52 #define GRETH_TXD_STATS (GRETH_TXD_UNDERRUN | \ 56 #define GRETH_TXD_CS (GRETH_TXD_IPCS | \ 61 #define GRETH_RXD_ENABLE 0x0800 62 #define GRETH_RXD_WRAP 0x1000 63 #define GRETH_RXD_IRQ 0x2000 65 #define GRETH_RXD_DRIBBLE 0x4000 66 #define GRETH_RXD_TOOLONG 0x8000 67 #define GRETH_RXD_CRCERR 0x10000 68 #define GRETH_RXD_OVERRUN 0x20000 69 #define GRETH_RXD_LENERR 0x40000 70 #define GRETH_RXD_ID 0x40000 71 #define GRETH_RXD_IR 0x40000 72 #define GRETH_RXD_UD 0x40000 73 #define GRETH_RXD_UR 0x40000 74 #define GRETH_RXD_TD 0x40000 75 #define GRETH_RXD_TR 0x40000 78 #define GRETH_RXD_STATS (GRETH_RXD_OVERRUN | \ 84 #define GRETH_CTRL_TXEN 0x00000001 85 #define GRETH_CTRL_RXEN 0x00000002 86 #define GRETH_CTRL_TXIRQ 0x00000004 87 #define GRETH_CTRL_RXIRQ 0x00000008 88 #define GRETH_CTRL_FULLD 0x00000010 89 #define GRETH_CTRL_PRO 0x00000020 90 #define GRETH_CTRL_RST 0x00000040 93 #define GRETH_STATUS_RXERR 0x00000001 94 #define GRETH_STATUS_TXERR 0x00000002 95 #define GRETH_STATUS_RXIRQ 0x00000004 96 #define GRETH_STATUS_TXIRQ 0x00000008 97 #define GRETH_STATUS_RXAHBERR 0x00000010 98 #define GRETH_STATUS_TXAHBERR 0x00000020 101 #define GRETH_MDIO_WRITE 0x00000001 102 #define GRETH_MDIO_READ 0x00000002 103 #define GRETH_MDIO_LINKFAIL 0x00000004 104 #define GRETH_MDIO_BUSY 0x00000008 105 #define GRETH_MDIO_REGADR 0x000007C0 106 #define GRETH_MDIO_PHYADR 0x0000F800 107 #define GRETH_MDIO_DATA 0xFFFF0000 111 #define GRETH_MII_EXTADV_1000FD 0x00000200 112 #define GRETH_MII_EXTADV_1000HD 0x00000100 113 #define GRETH_MII_EXTPRT_1000FD 0x00000800 114 #define GRETH_MII_EXTPRT_1000HD 0x00000400 116 #define GRETH_MII_100T4 0x00000200 117 #define GRETH_MII_100TXFD 0x00000100 118 #define GRETH_MII_100TXHD 0x00000080 119 #define GRETH_MII_10FD 0x00000040 120 #define GRETH_MII_10HD 0x00000020 126 int rtems_greth_driver_attach (
127 struct rtems_bsdnet_ifconfig *
config,
Definition: deflate.c:115
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
Definition: rtemscompat1.h:15