Go to the documentation of this file. 1 #ifndef BCM63XX_ENET_H_
2 #define BCM63XX_ENET_H_
4 #include <linux/types.h>
16 #define BCMENET_DEF_RX_DESC 64
17 #define BCMENET_DEF_TX_DESC 32
20 #define BCMENET_DMA_MAXBURST 16
25 #define BCMENET_TX_FIFO_TRESH 32
32 #define BCMENET_MAX_MTU 2046
37 #define ETH_MIB_TX_GD_OCTETS 0
38 #define ETH_MIB_TX_GD_PKTS 1
39 #define ETH_MIB_TX_ALL_OCTETS 2
40 #define ETH_MIB_TX_ALL_PKTS 3
41 #define ETH_MIB_TX_BRDCAST 4
42 #define ETH_MIB_TX_MULT 5
43 #define ETH_MIB_TX_64 6
44 #define ETH_MIB_TX_65_127 7
45 #define ETH_MIB_TX_128_255 8
46 #define ETH_MIB_TX_256_511 9
47 #define ETH_MIB_TX_512_1023 10
48 #define ETH_MIB_TX_1024_MAX 11
49 #define ETH_MIB_TX_JAB 12
50 #define ETH_MIB_TX_OVR 13
51 #define ETH_MIB_TX_FRAG 14
52 #define ETH_MIB_TX_UNDERRUN 15
53 #define ETH_MIB_TX_COL 16
54 #define ETH_MIB_TX_1_COL 17
55 #define ETH_MIB_TX_M_COL 18
56 #define ETH_MIB_TX_EX_COL 19
57 #define ETH_MIB_TX_LATE 20
58 #define ETH_MIB_TX_DEF 21
59 #define ETH_MIB_TX_CRS 22
60 #define ETH_MIB_TX_PAUSE 23
62 #define ETH_MIB_RX_GD_OCTETS 32
63 #define ETH_MIB_RX_GD_PKTS 33
64 #define ETH_MIB_RX_ALL_OCTETS 34
65 #define ETH_MIB_RX_ALL_PKTS 35
66 #define ETH_MIB_RX_BRDCAST 36
67 #define ETH_MIB_RX_MULT 37
68 #define ETH_MIB_RX_64 38
69 #define ETH_MIB_RX_65_127 39
70 #define ETH_MIB_RX_128_255 40
71 #define ETH_MIB_RX_256_511 41
72 #define ETH_MIB_RX_512_1023 42
73 #define ETH_MIB_RX_1024_MAX 43
74 #define ETH_MIB_RX_JAB 44
75 #define ETH_MIB_RX_OVR 45
76 #define ETH_MIB_RX_FRAG 46
77 #define ETH_MIB_RX_DROP 47
78 #define ETH_MIB_RX_CRC_ALIGN 48
79 #define ETH_MIB_RX_UND 49
80 #define ETH_MIB_RX_CRC 50
81 #define ETH_MIB_RX_ALIGN 51
82 #define ETH_MIB_RX_SYM 52
83 #define ETH_MIB_RX_PAUSE 53
84 #define ETH_MIB_RX_CNTRL 54