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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF5282_Eclipse/] [RTOSDemo/] [MCF5282/] [MCF5282_FEC.h] - Blame information for rev 583

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/* Coldfire C Header File
2
 * Copyright Freescale Semiconductor Inc
3
 * All rights reserved.
4
 *
5
 * 2007/03/19 Revision: 0.9
6
 */
7
 
8
#ifndef __MCF5282_FEC_H__
9
#define __MCF5282_FEC_H__
10
 
11
 
12
/*********************************************************************
13
*
14
* Fast Ethernet Controller(FEC)
15
*
16
*********************************************************************/
17
 
18
/* Register read/write macros */
19
#define MCF_FEC_EIR                          (*(vuint32*)(&__IPSBAR[0x1004]))
20
#define MCF_FEC_EIMR                         (*(vuint32*)(&__IPSBAR[0x1008]))
21
#define MCF_FEC_RDAR                         (*(vuint32*)(&__IPSBAR[0x1010]))
22
#define MCF_FEC_TDAR                         (*(vuint32*)(&__IPSBAR[0x1014]))
23
#define MCF_FEC_ECR                          (*(vuint32*)(&__IPSBAR[0x1024]))
24
#define MCF_FEC_MMFR                         (*(vuint32*)(&__IPSBAR[0x1040]))
25
#define MCF_FEC_MSCR                         (*(vuint32*)(&__IPSBAR[0x1044]))
26
#define MCF_FEC_MIBC                         (*(vuint32*)(&__IPSBAR[0x1064]))
27
#define MCF_FEC_RCR                          (*(vuint32*)(&__IPSBAR[0x1084]))
28
#define MCF_FEC_TCR                          (*(vuint32*)(&__IPSBAR[0x10C4]))
29
#define MCF_FEC_PALR                         (*(vuint32*)(&__IPSBAR[0x10E4]))
30
#define MCF_FEC_PAUR                         (*(vuint32*)(&__IPSBAR[0x10E8]))
31
#define MCF_FEC_OPD                          (*(vuint32*)(&__IPSBAR[0x10EC]))
32
#define MCF_FEC_IAUR                         (*(vuint32*)(&__IPSBAR[0x1118]))
33
#define MCF_FEC_IALR                         (*(vuint32*)(&__IPSBAR[0x111C]))
34
#define MCF_FEC_GAUR                         (*(vuint32*)(&__IPSBAR[0x1120]))
35
#define MCF_FEC_GALR                         (*(vuint32*)(&__IPSBAR[0x1124]))
36
#define MCF_FEC_TFWR                         (*(vuint32*)(&__IPSBAR[0x1144]))
37
#define MCF_FEC_FRBR                         (*(vuint32*)(&__IPSBAR[0x114C]))
38
#define MCF_FEC_FRSR                         (*(vuint32*)(&__IPSBAR[0x1150]))
39
#define MCF_FEC_ERDSR                        (*(vuint32*)(&__IPSBAR[0x1180]))
40
#define MCF_FEC_ETSDR                        (*(vuint32*)(&__IPSBAR[0x1184]))
41
#define MCF_FEC_EMRBR                        (*(vuint32*)(&__IPSBAR[0x1188]))
42
#define MCF_FEC_RMON_T_DROP                  (*(vuint32*)(&__IPSBAR[0x1200]))
43
#define MCF_FEC_RMON_T_PACKETS               (*(vuint32*)(&__IPSBAR[0x1204]))
44
#define MCF_FEC_RMON_T_BC_PKT                (*(vuint32*)(&__IPSBAR[0x1208]))
45
#define MCF_FEC_RMON_T_MC_PKT                (*(vuint32*)(&__IPSBAR[0x120C]))
46
#define MCF_FEC_RMON_T_CRC_ALIGN             (*(vuint32*)(&__IPSBAR[0x1210]))
47
#define MCF_FEC_RMON_T_UNDERSIZE             (*(vuint32*)(&__IPSBAR[0x1214]))
48
#define MCF_FEC_RMON_T_OVERSIZE              (*(vuint32*)(&__IPSBAR[0x1218]))
49
#define MCF_FEC_RMON_T_FRAG                  (*(vuint32*)(&__IPSBAR[0x121C]))
50
#define MCF_FEC_RMON_T_JAB                   (*(vuint32*)(&__IPSBAR[0x1220]))
51
#define MCF_FEC_RMON_T_COL                   (*(vuint32*)(&__IPSBAR[0x1224]))
52
#define MCF_FEC_RMON_T_P64                   (*(vuint32*)(&__IPSBAR[0x1228]))
53
#define MCF_FEC_RMON_T_P65TO127              (*(vuint32*)(&__IPSBAR[0x122C]))
54
#define MCF_FEC_RMON_T_P128TO255             (*(vuint32*)(&__IPSBAR[0x1230]))
55
#define MCF_FEC_RMON_T_P256TO511             (*(vuint32*)(&__IPSBAR[0x1234]))
56
#define MCF_FEC_RMON_T_P512TO1023            (*(vuint32*)(&__IPSBAR[0x1238]))
57
#define MCF_FEC_RMON_T_P1024TO2047           (*(vuint32*)(&__IPSBAR[0x123C]))
58
#define MCF_FEC_RMON_T_P_GTE2048             (*(vuint32*)(&__IPSBAR[0x1240]))
59
#define MCF_FEC_RMON_T_OCTETS                (*(vuint32*)(&__IPSBAR[0x1244]))
60
#define MCF_FEC_IEEE_T_DROP                  (*(vuint32*)(&__IPSBAR[0x1248]))
61
#define MCF_FEC_IEEE_T_FRAME_OK              (*(vuint32*)(&__IPSBAR[0x124C]))
62
#define MCF_FEC_IEEE_T_1COL                  (*(vuint32*)(&__IPSBAR[0x1250]))
63
#define MCF_FEC_IEEE_T_MCOL                  (*(vuint32*)(&__IPSBAR[0x1254]))
64
#define MCF_FEC_IEEE_T_DEF                   (*(vuint32*)(&__IPSBAR[0x1258]))
65
#define MCF_FEC_IEEE_T_LCOL                  (*(vuint32*)(&__IPSBAR[0x125C]))
66
#define MCF_FEC_IEEE_T_EXCOL                 (*(vuint32*)(&__IPSBAR[0x1260]))
67
#define MCF_FEC_IEEE_T_MACERR                (*(vuint32*)(&__IPSBAR[0x1264]))
68
#define MCF_FEC_IEEE_T_CSERR                 (*(vuint32*)(&__IPSBAR[0x1268]))
69
#define MCF_FEC_IEEE_T_SQE                   (*(vuint32*)(&__IPSBAR[0x126C]))
70
#define MCF_FEC_IEEE_T_FDXFC                 (*(vuint32*)(&__IPSBAR[0x1270]))
71
#define MCF_FEC_IEEE_T_OCTETS_OK             (*(vuint32*)(&__IPSBAR[0x1274]))
72
#define MCF_FEC_RMON_R_PACKETS               (*(vuint32*)(&__IPSBAR[0x1284]))
73
#define MCF_FEC_RMON_R_BC_PKT                (*(vuint32*)(&__IPSBAR[0x1288]))
74
#define MCF_FEC_RMON_R_MC_PKT                (*(vuint32*)(&__IPSBAR[0x128C]))
75
#define MCF_FEC_RMON_R_CRC_ALIGN             (*(vuint32*)(&__IPSBAR[0x1290]))
76
#define MCF_FEC_RMON_R_UNDERSIZE             (*(vuint32*)(&__IPSBAR[0x1294]))
77
#define MCF_FEC_RMON_R_OVERSIZE              (*(vuint32*)(&__IPSBAR[0x1298]))
78
#define MCF_FEC_RMON_R_FRAG                  (*(vuint32*)(&__IPSBAR[0x129C]))
79
#define MCF_FEC_RMON_R_JAB                   (*(vuint32*)(&__IPSBAR[0x12A0]))
80
#define MCF_FEC_RMON_R_RESVD_0               (*(vuint32*)(&__IPSBAR[0x12A4]))
81
#define MCF_FEC_RMON_R_P64                   (*(vuint32*)(&__IPSBAR[0x12A8]))
82
#define MCF_FEC_RMON_R_P65TO127              (*(vuint32*)(&__IPSBAR[0x12AC]))
83
#define MCF_FEC_RMON_R_P128TO255             (*(vuint32*)(&__IPSBAR[0x12B0]))
84
#define MCF_FEC_RMON_R_P256TO511             (*(vuint32*)(&__IPSBAR[0x12B4]))
85
#define MCF_FEC_RMON_R_P512TO1023            (*(vuint32*)(&__IPSBAR[0x12B8]))
86
#define MCF_FEC_RMON_R_P1024TO2047           (*(vuint32*)(&__IPSBAR[0x12BC]))
87
#define MCF_FEC_RMON_R_P_GTE2048             (*(vuint32*)(&__IPSBAR[0x12C0]))
88
#define MCF_FEC_RMON_R_OCTETS                (*(vuint32*)(&__IPSBAR[0x12C4]))
89
#define MCF_FEC_IEEE_R_DROP                  (*(vuint32*)(&__IPSBAR[0x12C8]))
90
#define MCF_FEC_IEEE_R_FRAME_OK              (*(vuint32*)(&__IPSBAR[0x12CC]))
91
#define MCF_FEC_IEEE_R_CRC                   (*(vuint32*)(&__IPSBAR[0x12D0]))
92
#define MCF_FEC_IEEE_R_ALIGN                 (*(vuint32*)(&__IPSBAR[0x12D4]))
93
#define MCF_FEC_IEEE_R_MACERR                (*(vuint32*)(&__IPSBAR[0x12D8]))
94
#define MCF_FEC_IEEE_R_FDXFC                 (*(vuint32*)(&__IPSBAR[0x12DC]))
95
#define MCF_FEC_IEEE_R_OCTETS_OK             (*(vuint32*)(&__IPSBAR[0x12E0]))
96
 
97
 
98
 
99
/* Bit definitions and macros for MCF_FEC_EIR */
100
#define MCF_FEC_EIR_UN                       (0x80000)
101
#define MCF_FEC_EIR_RL                       (0x100000)
102
#define MCF_FEC_EIR_LC                       (0x200000)
103
#define MCF_FEC_EIR_EBERR                    (0x400000)
104
#define MCF_FEC_EIR_MII                      (0x800000)
105
#define MCF_FEC_EIR_RXB                      (0x1000000)
106
#define MCF_FEC_EIR_RXF                      (0x2000000)
107
#define MCF_FEC_EIR_TXB                      (0x4000000)
108
#define MCF_FEC_EIR_TXF                      (0x8000000)
109
#define MCF_FEC_EIR_GRA                      (0x10000000)
110
#define MCF_FEC_EIR_BABT                     (0x20000000)
111
#define MCF_FEC_EIR_BABR                     (0x40000000)
112
#define MCF_FEC_EIR_HBERR                    (0x80000000)
113
#define MCF_FEC_EIR_CLEAR_ALL                (0xFFFFFFFF)
114
 
115
/* Bit definitions and macros for MCF_FEC_EIMR */
116
#define MCF_FEC_EIMR_UN                      (0x80000)
117
#define MCF_FEC_EIMR_RL                      (0x100000)
118
#define MCF_FEC_EIMR_LC                      (0x200000)
119
#define MCF_FEC_EIMR_EBERR                   (0x400000)
120
#define MCF_FEC_EIMR_MII                     (0x800000)
121
#define MCF_FEC_EIMR_RXB                     (0x1000000)
122
#define MCF_FEC_EIMR_RXF                     (0x2000000)
123
#define MCF_FEC_EIMR_TXB                     (0x4000000)
124
#define MCF_FEC_EIMR_TXF                     (0x8000000)
125
#define MCF_FEC_EIMR_GRA                     (0x10000000)
126
#define MCF_FEC_EIMR_BABT                    (0x20000000)
127
#define MCF_FEC_EIMR_BABR                    (0x40000000)
128
#define MCF_FEC_EIMR_HBERR                   (0x80000000)
129
#define MCF_FEC_EIMR_MASK_ALL                (0)
130
#define MCF_FEC_EIMR_UNMASK_ALL              (0xFFFFFFFF)
131
 
132
/* Bit definitions and macros for MCF_FEC_RDAR */
133
#define MCF_FEC_RDAR_R_DES_ACTIVE            (0x1000000)
134
 
135
/* Bit definitions and macros for MCF_FEC_TDAR */
136
#define MCF_FEC_TDAR_X_DES_ACTIVE            (0x1000000)
137
 
138
/* Bit definitions and macros for MCF_FEC_ECR */
139
#define MCF_FEC_ECR_RESET                    (0x1)
140
#define MCF_FEC_ECR_ETHER_EN                 (0x2)
141
 
142
/* Bit definitions and macros for MCF_FEC_MMFR */
143
#define MCF_FEC_MMFR_DATA(x)                 (((x)&0xFFFF)<<0)
144
#define MCF_FEC_MMFR_TA(x)                   (((x)&0x3)<<0x10)
145
#define MCF_FEC_MMFR_TA_10                   (0x20000)
146
#define MCF_FEC_MMFR_RA(x)                   (((x)&0x1F)<<0x12)
147
#define MCF_FEC_MMFR_PA(x)                   (((x)&0x1F)<<0x17)
148
#define MCF_FEC_MMFR_OP(x)                   (((x)&0x3)<<0x1C)
149
#define MCF_FEC_MMFR_OP_READ                 (0x20000000)
150
#define MCF_FEC_MMFR_OP_WRITE                (0x10000000)
151
#define MCF_FEC_MMFR_ST(x)                   (((x)&0x3)<<0x1E)
152
#define MCF_FEC_MMFR_ST_01                   (0x40000000)
153
 
154
/* Bit definitions and macros for MCF_FEC_MSCR */
155
#define MCF_FEC_MSCR_MII_SPEED(x)            (((x)&0x3F)<<0x1)
156
#define MCF_FEC_MSCR_DIS_PREAMBLE            (0x80)
157
 
158
/* Bit definitions and macros for MCF_FEC_MIBC */
159
#define MCF_FEC_MIBC_MIB_IDLE                (0x40000000)
160
#define MCF_FEC_MIBC_MIB_DISABLE             (0x80000000)
161
 
162
/* Bit definitions and macros for MCF_FEC_RCR */
163
#define MCF_FEC_RCR_LOOP                     (0x1)
164
#define MCF_FEC_RCR_DRT                      (0x2)
165
#define MCF_FEC_RCR_MII_MODE                 (0x4)
166
#define MCF_FEC_RCR_PROM                     (0x8)
167
#define MCF_FEC_RCR_BC_REJ                   (0x10)
168
#define MCF_FEC_RCR_FCE                      (0x20)
169
#define MCF_FEC_RCR_MAX_FL(x)                (((x)&0x7FF)<<0x10)
170
 
171
/* Bit definitions and macros for MCF_FEC_TCR */
172
#define MCF_FEC_TCR_GTS                      (0x1)
173
#define MCF_FEC_TCR_HBC                      (0x2)
174
#define MCF_FEC_TCR_FDEN                     (0x4)
175
#define MCF_FEC_TCR_TFC_PAUSE                (0x8)
176
#define MCF_FEC_TCR_RFC_PAUSE                (0x10)
177
 
178
/* Bit definitions and macros for MCF_FEC_PALR */
179
#define MCF_FEC_PALR_PADDR1(x)               (((x)&0xFFFFFFFF)<<0)
180
 
181
/* Bit definitions and macros for MCF_FEC_PAUR */
182
#define MCF_FEC_PAUR_TYPE(x)                 (((x)&0xFFFF)<<0)
183
#define MCF_FEC_PAUR_PADDR2(x)               (((x)&0xFFFF)<<0x10)
184
 
185
/* Bit definitions and macros for MCF_FEC_OPD */
186
#define MCF_FEC_OPD_PAUSE_DUR(x)             (((x)&0xFFFF)<<0)
187
#define MCF_FEC_OPD_OPCODE(x)                (((x)&0xFFFF)<<0x10)
188
 
189
/* Bit definitions and macros for MCF_FEC_IAUR */
190
#define MCF_FEC_IAUR_IADDR1(x)               (((x)&0xFFFFFFFF)<<0)
191
 
192
/* Bit definitions and macros for MCF_FEC_IALR */
193
#define MCF_FEC_IALR_IADDR2(x)               (((x)&0xFFFFFFFF)<<0)
194
 
195
/* Bit definitions and macros for MCF_FEC_GAUR */
196
#define MCF_FEC_GAUR_GADDR1(x)               (((x)&0xFFFFFFFF)<<0)
197
 
198
/* Bit definitions and macros for MCF_FEC_GALR */
199
#define MCF_FEC_GALR_GADDR2(x)               (((x)&0xFFFFFFFF)<<0)
200
 
201
/* Bit definitions and macros for MCF_FEC_TFWR */
202
#define MCF_FEC_TFWR_X_WMRK(x)               (((x)&0x3)<<0)
203
#define MCF_FEC_TFWR_X_WMRK_64               (0)
204
#define MCF_FEC_TFWR_X_WMRK_128              (0x2)
205
#define MCF_FEC_TFWR_X_WMRK_192              (0x3)
206
 
207
/* Bit definitions and macros for MCF_FEC_FRBR */
208
#define MCF_FEC_FRBR_R_BOUND(x)              (((x)&0xFF)<<0x2)
209
 
210
/* Bit definitions and macros for MCF_FEC_FRSR */
211
#define MCF_FEC_FRSR_R_FSTART(x)             (((x)&0xFF)<<0x2)
212
 
213
/* Bit definitions and macros for MCF_FEC_ERDSR */
214
#define MCF_FEC_ERDSR_R_DES_START(x)         (((x)&0x3FFFFFFF)<<0x2)
215
 
216
/* Bit definitions and macros for MCF_FEC_ETSDR */
217
#define MCF_FEC_ETSDR_X_DES_START(x)         (((x)&0x3FFFFFFF)<<0x2)
218
 
219
/* Bit definitions and macros for MCF_FEC_EMRBR */
220
#define MCF_FEC_EMRBR_R_BUF_SIZE(x)          (((x)&0x7F)<<0x4)
221
 
222
/* Bit definitions and macros for MCF_FEC_RMON_T_DROP */
223
#define MCF_FEC_RMON_T_DROP_Value(x)         (((x)&0xFFFFFFFF)<<0)
224
 
225
/* Bit definitions and macros for MCF_FEC_RMON_T_PACKETS */
226
#define MCF_FEC_RMON_T_PACKETS_Value(x)      (((x)&0xFFFFFFFF)<<0)
227
 
228
/* Bit definitions and macros for MCF_FEC_RMON_T_BC_PKT */
229
#define MCF_FEC_RMON_T_BC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
230
 
231
/* Bit definitions and macros for MCF_FEC_RMON_T_MC_PKT */
232
#define MCF_FEC_RMON_T_MC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
233
 
234
/* Bit definitions and macros for MCF_FEC_RMON_T_CRC_ALIGN */
235
#define MCF_FEC_RMON_T_CRC_ALIGN_Value(x)    (((x)&0xFFFFFFFF)<<0)
236
 
237
/* Bit definitions and macros for MCF_FEC_RMON_T_UNDERSIZE */
238
#define MCF_FEC_RMON_T_UNDERSIZE_Value(x)    (((x)&0xFFFFFFFF)<<0)
239
 
240
/* Bit definitions and macros for MCF_FEC_RMON_T_OVERSIZE */
241
#define MCF_FEC_RMON_T_OVERSIZE_Value(x)     (((x)&0xFFFFFFFF)<<0)
242
 
243
/* Bit definitions and macros for MCF_FEC_RMON_T_FRAG */
244
#define MCF_FEC_RMON_T_FRAG_Value(x)         (((x)&0xFFFFFFFF)<<0)
245
 
246
/* Bit definitions and macros for MCF_FEC_RMON_T_JAB */
247
#define MCF_FEC_RMON_T_JAB_Value(x)          (((x)&0xFFFFFFFF)<<0)
248
 
249
/* Bit definitions and macros for MCF_FEC_RMON_T_COL */
250
#define MCF_FEC_RMON_T_COL_Value(x)          (((x)&0xFFFFFFFF)<<0)
251
 
252
/* Bit definitions and macros for MCF_FEC_RMON_T_P64 */
253
#define MCF_FEC_RMON_T_P64_Value(x)          (((x)&0xFFFFFFFF)<<0)
254
 
255
/* Bit definitions and macros for MCF_FEC_RMON_T_P65TO127 */
256
#define MCF_FEC_RMON_T_P65TO127_Value(x)     (((x)&0xFFFFFFFF)<<0)
257
 
258
/* Bit definitions and macros for MCF_FEC_RMON_T_P128TO255 */
259
#define MCF_FEC_RMON_T_P128TO255_Value(x)    (((x)&0xFFFFFFFF)<<0)
260
 
261
/* Bit definitions and macros for MCF_FEC_RMON_T_P256TO511 */
262
#define MCF_FEC_RMON_T_P256TO511_Value(x)    (((x)&0xFFFFFFFF)<<0)
263
 
264
/* Bit definitions and macros for MCF_FEC_RMON_T_P512TO1023 */
265
#define MCF_FEC_RMON_T_P512TO1023_Value(x)   (((x)&0xFFFFFFFF)<<0)
266
 
267
/* Bit definitions and macros for MCF_FEC_RMON_T_P1024TO2047 */
268
#define MCF_FEC_RMON_T_P1024TO2047_Value(x)  (((x)&0xFFFFFFFF)<<0)
269
 
270
/* Bit definitions and macros for MCF_FEC_RMON_T_P_GTE2048 */
271
#define MCF_FEC_RMON_T_P_GTE2048_Value(x)    (((x)&0xFFFFFFFF)<<0)
272
 
273
/* Bit definitions and macros for MCF_FEC_RMON_T_OCTETS */
274
#define MCF_FEC_RMON_T_OCTETS_Value(x)       (((x)&0xFFFFFFFF)<<0)
275
 
276
/* Bit definitions and macros for MCF_FEC_IEEE_T_DROP */
277
#define MCF_FEC_IEEE_T_DROP_Value(x)         (((x)&0xFFFFFFFF)<<0)
278
 
279
/* Bit definitions and macros for MCF_FEC_IEEE_T_FRAME_OK */
280
#define MCF_FEC_IEEE_T_FRAME_OK_Value(x)     (((x)&0xFFFFFFFF)<<0)
281
 
282
/* Bit definitions and macros for MCF_FEC_IEEE_T_1COL */
283
#define MCF_FEC_IEEE_T_1COL_Value(x)         (((x)&0xFFFFFFFF)<<0)
284
 
285
/* Bit definitions and macros for MCF_FEC_IEEE_T_MCOL */
286
#define MCF_FEC_IEEE_T_MCOL_Value(x)         (((x)&0xFFFFFFFF)<<0)
287
 
288
/* Bit definitions and macros for MCF_FEC_IEEE_T_DEF */
289
#define MCF_FEC_IEEE_T_DEF_Value(x)          (((x)&0xFFFFFFFF)<<0)
290
 
291
/* Bit definitions and macros for MCF_FEC_IEEE_T_LCOL */
292
#define MCF_FEC_IEEE_T_LCOL_Value(x)         (((x)&0xFFFFFFFF)<<0)
293
 
294
/* Bit definitions and macros for MCF_FEC_IEEE_T_EXCOL */
295
#define MCF_FEC_IEEE_T_EXCOL_Value(x)        (((x)&0xFFFFFFFF)<<0)
296
 
297
/* Bit definitions and macros for MCF_FEC_IEEE_T_MACERR */
298
#define MCF_FEC_IEEE_T_MACERR_Value(x)       (((x)&0xFFFFFFFF)<<0)
299
 
300
/* Bit definitions and macros for MCF_FEC_IEEE_T_CSERR */
301
#define MCF_FEC_IEEE_T_CSERR_Value(x)        (((x)&0xFFFFFFFF)<<0)
302
 
303
/* Bit definitions and macros for MCF_FEC_IEEE_T_SQE */
304
#define MCF_FEC_IEEE_T_SQE_Value(x)          (((x)&0xFFFFFFFF)<<0)
305
 
306
/* Bit definitions and macros for MCF_FEC_IEEE_T_FDXFC */
307
#define MCF_FEC_IEEE_T_FDXFC_Value(x)        (((x)&0xFFFFFFFF)<<0)
308
 
309
/* Bit definitions and macros for MCF_FEC_IEEE_T_OCTETS_OK */
310
#define MCF_FEC_IEEE_T_OCTETS_OK_Value(x)    (((x)&0xFFFFFFFF)<<0)
311
 
312
/* Bit definitions and macros for MCF_FEC_RMON_R_PACKETS */
313
#define MCF_FEC_RMON_R_PACKETS_Value(x)      (((x)&0xFFFFFFFF)<<0)
314
 
315
/* Bit definitions and macros for MCF_FEC_RMON_R_BC_PKT */
316
#define MCF_FEC_RMON_R_BC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
317
 
318
/* Bit definitions and macros for MCF_FEC_RMON_R_MC_PKT */
319
#define MCF_FEC_RMON_R_MC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
320
 
321
/* Bit definitions and macros for MCF_FEC_RMON_R_CRC_ALIGN */
322
#define MCF_FEC_RMON_R_CRC_ALIGN_Value(x)    (((x)&0xFFFFFFFF)<<0)
323
 
324
/* Bit definitions and macros for MCF_FEC_RMON_R_UNDERSIZE */
325
#define MCF_FEC_RMON_R_UNDERSIZE_Value(x)    (((x)&0xFFFFFFFF)<<0)
326
 
327
/* Bit definitions and macros for MCF_FEC_RMON_R_OVERSIZE */
328
#define MCF_FEC_RMON_R_OVERSIZE_Value(x)     (((x)&0xFFFFFFFF)<<0)
329
 
330
/* Bit definitions and macros for MCF_FEC_RMON_R_FRAG */
331
#define MCF_FEC_RMON_R_FRAG_Value(x)         (((x)&0xFFFFFFFF)<<0)
332
 
333
/* Bit definitions and macros for MCF_FEC_RMON_R_JAB */
334
#define MCF_FEC_RMON_R_JAB_Value(x)          (((x)&0xFFFFFFFF)<<0)
335
 
336
/* Bit definitions and macros for MCF_FEC_RMON_R_RESVD_0 */
337
#define MCF_FEC_RMON_R_RESVD_0_Value(x)      (((x)&0xFFFFFFFF)<<0)
338
 
339
/* Bit definitions and macros for MCF_FEC_RMON_R_P64 */
340
#define MCF_FEC_RMON_R_P64_Value(x)          (((x)&0xFFFFFFFF)<<0)
341
 
342
/* Bit definitions and macros for MCF_FEC_RMON_R_P65TO127 */
343
#define MCF_FEC_RMON_R_P65TO127_Value(x)     (((x)&0xFFFFFFFF)<<0)
344
 
345
/* Bit definitions and macros for MCF_FEC_RMON_R_P128TO255 */
346
#define MCF_FEC_RMON_R_P128TO255_Value(x)    (((x)&0xFFFFFFFF)<<0)
347
 
348
/* Bit definitions and macros for MCF_FEC_RMON_R_P256TO511 */
349
#define MCF_FEC_RMON_R_P256TO511_Value(x)    (((x)&0xFFFFFFFF)<<0)
350
 
351
/* Bit definitions and macros for MCF_FEC_RMON_R_P512TO1023 */
352
#define MCF_FEC_RMON_R_P512TO1023_Value(x)   (((x)&0xFFFFFFFF)<<0)
353
 
354
/* Bit definitions and macros for MCF_FEC_RMON_R_P1024TO2047 */
355
#define MCF_FEC_RMON_R_P1024TO2047_Value(x)  (((x)&0xFFFFFFFF)<<0)
356
 
357
/* Bit definitions and macros for MCF_FEC_RMON_R_P_GTE2048 */
358
#define MCF_FEC_RMON_R_P_GTE2048_Value(x)    (((x)&0xFFFFFFFF)<<0)
359
 
360
/* Bit definitions and macros for MCF_FEC_RMON_R_OCTETS */
361
#define MCF_FEC_RMON_R_OCTETS_Value(x)       (((x)&0xFFFFFFFF)<<0)
362
 
363
/* Bit definitions and macros for MCF_FEC_IEEE_R_DROP */
364
#define MCF_FEC_IEEE_R_DROP_Value(x)         (((x)&0xFFFFFFFF)<<0)
365
 
366
/* Bit definitions and macros for MCF_FEC_IEEE_R_FRAME_OK */
367
#define MCF_FEC_IEEE_R_FRAME_OK_Value(x)     (((x)&0xFFFFFFFF)<<0)
368
 
369
/* Bit definitions and macros for MCF_FEC_IEEE_R_CRC */
370
#define MCF_FEC_IEEE_R_CRC_Value(x)          (((x)&0xFFFFFFFF)<<0)
371
 
372
/* Bit definitions and macros for MCF_FEC_IEEE_R_ALIGN */
373
#define MCF_FEC_IEEE_R_ALIGN_Value(x)        (((x)&0xFFFFFFFF)<<0)
374
 
375
/* Bit definitions and macros for MCF_FEC_IEEE_R_MACERR */
376
#define MCF_FEC_IEEE_R_MACERR_Value(x)       (((x)&0xFFFFFFFF)<<0)
377
 
378
/* Bit definitions and macros for MCF_FEC_IEEE_R_FDXFC */
379
#define MCF_FEC_IEEE_R_FDXFC_Value(x)        (((x)&0xFFFFFFFF)<<0)
380
 
381
/* Bit definitions and macros for MCF_FEC_IEEE_R_OCTETS_OK */
382
#define MCF_FEC_IEEE_R_OCTETS_OK_Value(x)    (((x)&0xFFFFFFFF)<<0)
383
 
384
 
385
#endif /* __MCF5282_FEC_H__ */

powered by: WebSVN 2.1.0

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