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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52259_CodeWarrior/] [Freescale_Headers/] [MCF52259_FEC.h] - Blame information for rev 578

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
 * 2008/04/17 Revision: 0.2
6
 *
7
 * (c) Copyright UNIS, spol. s r.o. 1997-2008
8
 * UNIS, spol. s r.o.
9
 * Jundrovska 33
10
 * 624 00 Brno
11
 * Czech Republic
12
 * http      : www.processorexpert.com
13
 * mail      : info@processorexpert.com
14
 */
15
 
16
#ifndef __MCF52259_FEC_H__
17
#define __MCF52259_FEC_H__
18
 
19
 
20
/*********************************************************************
21
*
22
* Fast Ethernet Controller(FEC)
23
*
24
*********************************************************************/
25
 
26
/* Register read/write macros */
27
#define MCF_FEC_EIR                          (*(vuint32*)(0x40001004))
28
#define MCF_FEC_EIMR                         (*(vuint32*)(0x40001008))
29
#define MCF_FEC_RDAR                         (*(vuint32*)(0x40001010))
30
#define MCF_FEC_TDAR                         (*(vuint32*)(0x40001014))
31
#define MCF_FEC_ECR                          (*(vuint32*)(0x40001024))
32
#define MCF_FEC_MMFR                         (*(vuint32*)(0x40001040))
33
#define MCF_FEC_MSCR                         (*(vuint32*)(0x40001044))
34
#define MCF_FEC_MIBC                         (*(vuint32*)(0x40001064))
35
#define MCF_FEC_RCR                          (*(vuint32*)(0x40001084))
36
#define MCF_FEC_TCR                          (*(vuint32*)(0x400010C4))
37
#define MCF_FEC_PALR                         (*(vuint32*)(0x400010E4))
38
#define MCF_FEC_PAUR                         (*(vuint32*)(0x400010E8))
39
#define MCF_FEC_OPD                          (*(vuint32*)(0x400010EC))
40
#define MCF_FEC_IAUR                         (*(vuint32*)(0x40001118))
41
#define MCF_FEC_IALR                         (*(vuint32*)(0x4000111C))
42
#define MCF_FEC_GAUR                         (*(vuint32*)(0x40001120))
43
#define MCF_FEC_GALR                         (*(vuint32*)(0x40001124))
44
#define MCF_FEC_TFWR                         (*(vuint32*)(0x40001144))
45
#define MCF_FEC_FRBR                         (*(vuint32*)(0x4000114C))
46
#define MCF_FEC_FRSR                         (*(vuint32*)(0x40001150))
47
#define MCF_FEC_ERDSR                        (*(vuint32*)(0x40001180))
48
#define MCF_FEC_ETSDR                        (*(vuint32*)(0x40001184))
49
#define MCF_FEC_EMRBR                        (*(vuint32*)(0x40001188))
50
#define MCF_FEC_RMON_T_DROP                  (*(vuint32*)(0x40001200))
51
#define MCF_FEC_RMON_T_PACKETS               (*(vuint32*)(0x40001204))
52
#define MCF_FEC_RMON_T_BC_PKT                (*(vuint32*)(0x40001208))
53
#define MCF_FEC_RMON_T_MC_PKT                (*(vuint32*)(0x4000120C))
54
#define MCF_FEC_RMON_T_CRC_ALIGN             (*(vuint32*)(0x40001210))
55
#define MCF_FEC_RMON_T_UNDERSIZE             (*(vuint32*)(0x40001214))
56
#define MCF_FEC_RMON_T_OVERSIZE              (*(vuint32*)(0x40001218))
57
#define MCF_FEC_RMON_T_FRAG                  (*(vuint32*)(0x4000121C))
58
#define MCF_FEC_RMON_T_JAB                   (*(vuint32*)(0x40001220))
59
#define MCF_FEC_RMON_T_COL                   (*(vuint32*)(0x40001224))
60
#define MCF_FEC_RMON_T_P64                   (*(vuint32*)(0x40001228))
61
#define MCF_FEC_RMON_T_P65TO127              (*(vuint32*)(0x4000122C))
62
#define MCF_FEC_RMON_T_P128TO255             (*(vuint32*)(0x40001230))
63
#define MCF_FEC_RMON_T_P256TO511             (*(vuint32*)(0x40001234))
64
#define MCF_FEC_RMON_T_P512TO1023            (*(vuint32*)(0x40001238))
65
#define MCF_FEC_RMON_T_P1024TO2047           (*(vuint32*)(0x4000123C))
66
#define MCF_FEC_RMON_T_P_GTE2048             (*(vuint32*)(0x40001240))
67
#define MCF_FEC_RMON_T_OCTETS                (*(vuint32*)(0x40001244))
68
#define MCF_FEC_IEEE_T_DROP                  (*(vuint32*)(0x40001248))
69
#define MCF_FEC_IEEE_T_FRAME_OK              (*(vuint32*)(0x4000124C))
70
#define MCF_FEC_IEEE_T_1COL                  (*(vuint32*)(0x40001250))
71
#define MCF_FEC_IEEE_T_MCOL                  (*(vuint32*)(0x40001254))
72
#define MCF_FEC_IEEE_T_DEF                   (*(vuint32*)(0x40001258))
73
#define MCF_FEC_IEEE_T_LCOL                  (*(vuint32*)(0x4000125C))
74
#define MCF_FEC_IEEE_T_EXCOL                 (*(vuint32*)(0x40001260))
75
#define MCF_FEC_IEEE_T_MACERR                (*(vuint32*)(0x40001264))
76
#define MCF_FEC_IEEE_T_CSERR                 (*(vuint32*)(0x40001268))
77
#define MCF_FEC_IEEE_T_SQE                   (*(vuint32*)(0x4000126C))
78
#define MCF_FEC_IEEE_T_FDXFC                 (*(vuint32*)(0x40001270))
79
#define MCF_FEC_IEEE_T_OCTETS_OK             (*(vuint32*)(0x40001274))
80
#define MCF_FEC_RMON_R_PACKETS               (*(vuint32*)(0x40001284))
81
#define MCF_FEC_RMON_R_BC_PKT                (*(vuint32*)(0x40001288))
82
#define MCF_FEC_RMON_R_MC_PKT                (*(vuint32*)(0x4000128C))
83
#define MCF_FEC_RMON_R_CRC_ALIGN             (*(vuint32*)(0x40001290))
84
#define MCF_FEC_RMON_R_UNDERSIZE             (*(vuint32*)(0x40001294))
85
#define MCF_FEC_RMON_R_OVERSIZE              (*(vuint32*)(0x40001298))
86
#define MCF_FEC_RMON_R_FRAG                  (*(vuint32*)(0x4000129C))
87
#define MCF_FEC_RMON_R_JAB                   (*(vuint32*)(0x400012A0))
88
#define MCF_FEC_RMON_R_RESVD_0               (*(vuint32*)(0x400012A4))
89
#define MCF_FEC_RMON_R_P64                   (*(vuint32*)(0x400012A8))
90
#define MCF_FEC_RMON_R_P65TO127              (*(vuint32*)(0x400012AC))
91
#define MCF_FEC_RMON_R_P128TO255             (*(vuint32*)(0x400012B0))
92
#define MCF_FEC_RMON_R_P256TO511             (*(vuint32*)(0x400012B4))
93
#define MCF_FEC_RMON_R_P512TO1023            (*(vuint32*)(0x400012B8))
94
#define MCF_FEC_RMON_R_P1024TO2047           (*(vuint32*)(0x400012BC))
95
#define MCF_FEC_RMON_R_P_GTE2048             (*(vuint32*)(0x400012C0))
96
#define MCF_FEC_RMON_R_OCTETS                (*(vuint32*)(0x400012C4))
97
#define MCF_FEC_IEEE_R_DROP                  (*(vuint32*)(0x400012C8))
98
#define MCF_FEC_IEEE_R_FRAME_OK              (*(vuint32*)(0x400012CC))
99
#define MCF_FEC_IEEE_R_CRC                   (*(vuint32*)(0x400012D0))
100
#define MCF_FEC_IEEE_R_ALIGN                 (*(vuint32*)(0x400012D4))
101
#define MCF_FEC_IEEE_R_MACERR                (*(vuint32*)(0x400012D8))
102
#define MCF_FEC_IEEE_R_FDXFC                 (*(vuint32*)(0x400012DC))
103
#define MCF_FEC_IEEE_R_OCTETS_OK             (*(vuint32*)(0x400012E0))
104
 
105
 
106
 
107
/* Bit definitions and macros for MCF_FEC_EIR */
108
#define MCF_FEC_EIR_UN                       (0x80000)
109
#define MCF_FEC_EIR_RL                       (0x100000)
110
#define MCF_FEC_EIR_LC                       (0x200000)
111
#define MCF_FEC_EIR_EBERR                    (0x400000)
112
#define MCF_FEC_EIR_MII                      (0x800000)
113
#define MCF_FEC_EIR_RXB                      (0x1000000)
114
#define MCF_FEC_EIR_RXF                      (0x2000000)
115
#define MCF_FEC_EIR_TXB                      (0x4000000)
116
#define MCF_FEC_EIR_TXF                      (0x8000000)
117
#define MCF_FEC_EIR_GRA                      (0x10000000)
118
#define MCF_FEC_EIR_BABT                     (0x20000000)
119
#define MCF_FEC_EIR_BABR                     (0x40000000)
120
#define MCF_FEC_EIR_HBERR                    (0x80000000)
121
#define MCF_FEC_EIR_CLEAR_ALL                (0xFFFFFFFF)
122
 
123
/* Bit definitions and macros for MCF_FEC_EIMR */
124
#define MCF_FEC_EIMR_UN                      (0x80000)
125
#define MCF_FEC_EIMR_RL                      (0x100000)
126
#define MCF_FEC_EIMR_LC                      (0x200000)
127
#define MCF_FEC_EIMR_EBERR                   (0x400000)
128
#define MCF_FEC_EIMR_MII                     (0x800000)
129
#define MCF_FEC_EIMR_RXB                     (0x1000000)
130
#define MCF_FEC_EIMR_RXF                     (0x2000000)
131
#define MCF_FEC_EIMR_TXB                     (0x4000000)
132
#define MCF_FEC_EIMR_TXF                     (0x8000000)
133
#define MCF_FEC_EIMR_GRA                     (0x10000000)
134
#define MCF_FEC_EIMR_BABT                    (0x20000000)
135
#define MCF_FEC_EIMR_BABR                    (0x40000000)
136
#define MCF_FEC_EIMR_HBERR                   (0x80000000)
137
#define MCF_FEC_EIMR_MASK_ALL                (0)
138
#define MCF_FEC_EIMR_UNMASK_ALL              (0xFFFFFFFF)
139
 
140
/* Bit definitions and macros for MCF_FEC_RDAR */
141
#define MCF_FEC_RDAR_R_DES_ACTIVE            (0x1000000)
142
 
143
/* Bit definitions and macros for MCF_FEC_TDAR */
144
#define MCF_FEC_TDAR_X_DES_ACTIVE            (0x1000000)
145
 
146
/* Bit definitions and macros for MCF_FEC_ECR */
147
#define MCF_FEC_ECR_RESET                    (0x1)
148
#define MCF_FEC_ECR_ETHER_EN                 (0x2)
149
 
150
/* Bit definitions and macros for MCF_FEC_MMFR */
151
#define MCF_FEC_MMFR_DATA(x)                 (((x)&0xFFFF)<<0)
152
#define MCF_FEC_MMFR_TA(x)                   (((x)&0x3)<<0x10)
153
#define MCF_FEC_MMFR_TA_10                   (0x20000)
154
#define MCF_FEC_MMFR_RA(x)                   (((x)&0x1F)<<0x12)
155
#define MCF_FEC_MMFR_PA(x)                   (((x)&0x1F)<<0x17)
156
#define MCF_FEC_MMFR_OP(x)                   (((x)&0x3)<<0x1C)
157
#define MCF_FEC_MMFR_OP_READ                 (0x20000000)
158
#define MCF_FEC_MMFR_OP_WRITE                (0x10000000)
159
#define MCF_FEC_MMFR_ST(x)                   (((x)&0x3)<<0x1E)
160
#define MCF_FEC_MMFR_ST_01                   (0x40000000)
161
 
162
/* Bit definitions and macros for MCF_FEC_MSCR */
163
#define MCF_FEC_MSCR_MII_SPEED(x)            (((x)&0x3F)<<0x1)
164
#define MCF_FEC_MSCR_DIS_PREAMBLE            (0x80)
165
 
166
/* Bit definitions and macros for MCF_FEC_MIBC */
167
#define MCF_FEC_MIBC_MIB_IDLE                (0x40000000)
168
#define MCF_FEC_MIBC_MIB_DISABLE             (0x80000000)
169
 
170
/* Bit definitions and macros for MCF_FEC_RCR */
171
#define MCF_FEC_RCR_LOOP                     (0x1)
172
#define MCF_FEC_RCR_DRT                      (0x2)
173
#define MCF_FEC_RCR_MII_MODE                 (0x4)
174
#define MCF_FEC_RCR_PROM                     (0x8)
175
#define MCF_FEC_RCR_BC_REJ                   (0x10)
176
#define MCF_FEC_RCR_FCE                      (0x20)
177
#define MCF_FEC_RCR_MAX_FL(x)                (((x)&0x7FF)<<0x10)
178
 
179
/* Bit definitions and macros for MCF_FEC_TCR */
180
#define MCF_FEC_TCR_GTS                      (0x1)
181
#define MCF_FEC_TCR_HBC                      (0x2)
182
#define MCF_FEC_TCR_FDEN                     (0x4)
183
#define MCF_FEC_TCR_TFC_PAUSE                (0x8)
184
#define MCF_FEC_TCR_RFC_PAUSE                (0x10)
185
 
186
/* Bit definitions and macros for MCF_FEC_PALR */
187
#define MCF_FEC_PALR_PADDR1(x)               (((x)&0xFFFFFFFF)<<0)
188
 
189
/* Bit definitions and macros for MCF_FEC_PAUR */
190
#define MCF_FEC_PAUR_TYPE(x)                 (((x)&0xFFFF)<<0)
191
#define MCF_FEC_PAUR_PADDR2(x)               (((x)&0xFFFF)<<0x10)
192
 
193
/* Bit definitions and macros for MCF_FEC_OPD */
194
#define MCF_FEC_OPD_PAUSE_DUR(x)             (((x)&0xFFFF)<<0)
195
#define MCF_FEC_OPD_OPCODE(x)                (((x)&0xFFFF)<<0x10)
196
 
197
/* Bit definitions and macros for MCF_FEC_IAUR */
198
#define MCF_FEC_IAUR_IADDR1(x)               (((x)&0xFFFFFFFF)<<0)
199
 
200
/* Bit definitions and macros for MCF_FEC_IALR */
201
#define MCF_FEC_IALR_IADDR2(x)               (((x)&0xFFFFFFFF)<<0)
202
 
203
/* Bit definitions and macros for MCF_FEC_GAUR */
204
#define MCF_FEC_GAUR_GADDR1(x)               (((x)&0xFFFFFFFF)<<0)
205
 
206
/* Bit definitions and macros for MCF_FEC_GALR */
207
#define MCF_FEC_GALR_GADDR2(x)               (((x)&0xFFFFFFFF)<<0)
208
 
209
/* Bit definitions and macros for MCF_FEC_TFWR */
210
#define MCF_FEC_TFWR_X_WMRK(x)               (((x)&0x3)<<0)
211
#define MCF_FEC_TFWR_X_WMRK_64               (0)
212
#define MCF_FEC_TFWR_X_WMRK_128              (0x2)
213
#define MCF_FEC_TFWR_X_WMRK_192              (0x3)
214
 
215
/* Bit definitions and macros for MCF_FEC_FRBR */
216
#define MCF_FEC_FRBR_R_BOUND(x)              (((x)&0xFF)<<0x2)
217
 
218
/* Bit definitions and macros for MCF_FEC_FRSR */
219
#define MCF_FEC_FRSR_R_FSTART(x)             (((x)&0xFF)<<0x2)
220
 
221
/* Bit definitions and macros for MCF_FEC_ERDSR */
222
#define MCF_FEC_ERDSR_R_DES_START(x)         (((x)&0x3FFFFFFF)<<0x2)
223
 
224
/* Bit definitions and macros for MCF_FEC_ETSDR */
225
#define MCF_FEC_ETSDR_X_DES_START(x)         (((x)&0x3FFFFFFF)<<0x2)
226
 
227
/* Bit definitions and macros for MCF_FEC_EMRBR */
228
#define MCF_FEC_EMRBR_R_BUF_SIZE(x)          (((x)&0x7F)<<0x4)
229
 
230
/* Bit definitions and macros for MCF_FEC_RMON_T_DROP */
231
#define MCF_FEC_RMON_T_DROP_Value(x)         (((x)&0xFFFFFFFF)<<0)
232
 
233
/* Bit definitions and macros for MCF_FEC_RMON_T_PACKETS */
234
#define MCF_FEC_RMON_T_PACKETS_Value(x)      (((x)&0xFFFFFFFF)<<0)
235
 
236
/* Bit definitions and macros for MCF_FEC_RMON_T_BC_PKT */
237
#define MCF_FEC_RMON_T_BC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
238
 
239
/* Bit definitions and macros for MCF_FEC_RMON_T_MC_PKT */
240
#define MCF_FEC_RMON_T_MC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
241
 
242
/* Bit definitions and macros for MCF_FEC_RMON_T_CRC_ALIGN */
243
#define MCF_FEC_RMON_T_CRC_ALIGN_Value(x)    (((x)&0xFFFFFFFF)<<0)
244
 
245
/* Bit definitions and macros for MCF_FEC_RMON_T_UNDERSIZE */
246
#define MCF_FEC_RMON_T_UNDERSIZE_Value(x)    (((x)&0xFFFFFFFF)<<0)
247
 
248
/* Bit definitions and macros for MCF_FEC_RMON_T_OVERSIZE */
249
#define MCF_FEC_RMON_T_OVERSIZE_Value(x)     (((x)&0xFFFFFFFF)<<0)
250
 
251
/* Bit definitions and macros for MCF_FEC_RMON_T_FRAG */
252
#define MCF_FEC_RMON_T_FRAG_Value(x)         (((x)&0xFFFFFFFF)<<0)
253
 
254
/* Bit definitions and macros for MCF_FEC_RMON_T_JAB */
255
#define MCF_FEC_RMON_T_JAB_Value(x)          (((x)&0xFFFFFFFF)<<0)
256
 
257
/* Bit definitions and macros for MCF_FEC_RMON_T_COL */
258
#define MCF_FEC_RMON_T_COL_Value(x)          (((x)&0xFFFFFFFF)<<0)
259
 
260
/* Bit definitions and macros for MCF_FEC_RMON_T_P64 */
261
#define MCF_FEC_RMON_T_P64_Value(x)          (((x)&0xFFFFFFFF)<<0)
262
 
263
/* Bit definitions and macros for MCF_FEC_RMON_T_P65TO127 */
264
#define MCF_FEC_RMON_T_P65TO127_Value(x)     (((x)&0xFFFFFFFF)<<0)
265
 
266
/* Bit definitions and macros for MCF_FEC_RMON_T_P128TO255 */
267
#define MCF_FEC_RMON_T_P128TO255_Value(x)    (((x)&0xFFFFFFFF)<<0)
268
 
269
/* Bit definitions and macros for MCF_FEC_RMON_T_P256TO511 */
270
#define MCF_FEC_RMON_T_P256TO511_Value(x)    (((x)&0xFFFFFFFF)<<0)
271
 
272
/* Bit definitions and macros for MCF_FEC_RMON_T_P512TO1023 */
273
#define MCF_FEC_RMON_T_P512TO1023_Value(x)   (((x)&0xFFFFFFFF)<<0)
274
 
275
/* Bit definitions and macros for MCF_FEC_RMON_T_P1024TO2047 */
276
#define MCF_FEC_RMON_T_P1024TO2047_Value(x)  (((x)&0xFFFFFFFF)<<0)
277
 
278
/* Bit definitions and macros for MCF_FEC_RMON_T_P_GTE2048 */
279
#define MCF_FEC_RMON_T_P_GTE2048_Value(x)    (((x)&0xFFFFFFFF)<<0)
280
 
281
/* Bit definitions and macros for MCF_FEC_RMON_T_OCTETS */
282
#define MCF_FEC_RMON_T_OCTETS_Value(x)       (((x)&0xFFFFFFFF)<<0)
283
 
284
/* Bit definitions and macros for MCF_FEC_IEEE_T_DROP */
285
#define MCF_FEC_IEEE_T_DROP_Value(x)         (((x)&0xFFFFFFFF)<<0)
286
 
287
/* Bit definitions and macros for MCF_FEC_IEEE_T_FRAME_OK */
288
#define MCF_FEC_IEEE_T_FRAME_OK_Value(x)     (((x)&0xFFFFFFFF)<<0)
289
 
290
/* Bit definitions and macros for MCF_FEC_IEEE_T_1COL */
291
#define MCF_FEC_IEEE_T_1COL_Value(x)         (((x)&0xFFFFFFFF)<<0)
292
 
293
/* Bit definitions and macros for MCF_FEC_IEEE_T_MCOL */
294
#define MCF_FEC_IEEE_T_MCOL_Value(x)         (((x)&0xFFFFFFFF)<<0)
295
 
296
/* Bit definitions and macros for MCF_FEC_IEEE_T_DEF */
297
#define MCF_FEC_IEEE_T_DEF_Value(x)          (((x)&0xFFFFFFFF)<<0)
298
 
299
/* Bit definitions and macros for MCF_FEC_IEEE_T_LCOL */
300
#define MCF_FEC_IEEE_T_LCOL_Value(x)         (((x)&0xFFFFFFFF)<<0)
301
 
302
/* Bit definitions and macros for MCF_FEC_IEEE_T_EXCOL */
303
#define MCF_FEC_IEEE_T_EXCOL_Value(x)        (((x)&0xFFFFFFFF)<<0)
304
 
305
/* Bit definitions and macros for MCF_FEC_IEEE_T_MACERR */
306
#define MCF_FEC_IEEE_T_MACERR_Value(x)       (((x)&0xFFFFFFFF)<<0)
307
 
308
/* Bit definitions and macros for MCF_FEC_IEEE_T_CSERR */
309
#define MCF_FEC_IEEE_T_CSERR_Value(x)        (((x)&0xFFFFFFFF)<<0)
310
 
311
/* Bit definitions and macros for MCF_FEC_IEEE_T_SQE */
312
#define MCF_FEC_IEEE_T_SQE_Value(x)          (((x)&0xFFFFFFFF)<<0)
313
 
314
/* Bit definitions and macros for MCF_FEC_IEEE_T_FDXFC */
315
#define MCF_FEC_IEEE_T_FDXFC_Value(x)        (((x)&0xFFFFFFFF)<<0)
316
 
317
/* Bit definitions and macros for MCF_FEC_IEEE_T_OCTETS_OK */
318
#define MCF_FEC_IEEE_T_OCTETS_OK_Value(x)    (((x)&0xFFFFFFFF)<<0)
319
 
320
/* Bit definitions and macros for MCF_FEC_RMON_R_PACKETS */
321
#define MCF_FEC_RMON_R_PACKETS_Value(x)      (((x)&0xFFFFFFFF)<<0)
322
 
323
/* Bit definitions and macros for MCF_FEC_RMON_R_BC_PKT */
324
#define MCF_FEC_RMON_R_BC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
325
 
326
/* Bit definitions and macros for MCF_FEC_RMON_R_MC_PKT */
327
#define MCF_FEC_RMON_R_MC_PKT_Value(x)       (((x)&0xFFFFFFFF)<<0)
328
 
329
/* Bit definitions and macros for MCF_FEC_RMON_R_CRC_ALIGN */
330
#define MCF_FEC_RMON_R_CRC_ALIGN_Value(x)    (((x)&0xFFFFFFFF)<<0)
331
 
332
/* Bit definitions and macros for MCF_FEC_RMON_R_UNDERSIZE */
333
#define MCF_FEC_RMON_R_UNDERSIZE_Value(x)    (((x)&0xFFFFFFFF)<<0)
334
 
335
/* Bit definitions and macros for MCF_FEC_RMON_R_OVERSIZE */
336
#define MCF_FEC_RMON_R_OVERSIZE_Value(x)     (((x)&0xFFFFFFFF)<<0)
337
 
338
/* Bit definitions and macros for MCF_FEC_RMON_R_FRAG */
339
#define MCF_FEC_RMON_R_FRAG_Value(x)         (((x)&0xFFFFFFFF)<<0)
340
 
341
/* Bit definitions and macros for MCF_FEC_RMON_R_JAB */
342
#define MCF_FEC_RMON_R_JAB_Value(x)          (((x)&0xFFFFFFFF)<<0)
343
 
344
/* Bit definitions and macros for MCF_FEC_RMON_R_RESVD_0 */
345
#define MCF_FEC_RMON_R_RESVD_0_Value(x)      (((x)&0xFFFFFFFF)<<0)
346
 
347
/* Bit definitions and macros for MCF_FEC_RMON_R_P64 */
348
#define MCF_FEC_RMON_R_P64_Value(x)          (((x)&0xFFFFFFFF)<<0)
349
 
350
/* Bit definitions and macros for MCF_FEC_RMON_R_P65TO127 */
351
#define MCF_FEC_RMON_R_P65TO127_Value(x)     (((x)&0xFFFFFFFF)<<0)
352
 
353
/* Bit definitions and macros for MCF_FEC_RMON_R_P128TO255 */
354
#define MCF_FEC_RMON_R_P128TO255_Value(x)    (((x)&0xFFFFFFFF)<<0)
355
 
356
/* Bit definitions and macros for MCF_FEC_RMON_R_P256TO511 */
357
#define MCF_FEC_RMON_R_P256TO511_Value(x)    (((x)&0xFFFFFFFF)<<0)
358
 
359
/* Bit definitions and macros for MCF_FEC_RMON_R_P512TO1023 */
360
#define MCF_FEC_RMON_R_P512TO1023_Value(x)   (((x)&0xFFFFFFFF)<<0)
361
 
362
/* Bit definitions and macros for MCF_FEC_RMON_R_P1024TO2047 */
363
#define MCF_FEC_RMON_R_P1024TO2047_Value(x)  (((x)&0xFFFFFFFF)<<0)
364
 
365
/* Bit definitions and macros for MCF_FEC_RMON_R_P_GTE2048 */
366
#define MCF_FEC_RMON_R_P_GTE2048_Value(x)    (((x)&0xFFFFFFFF)<<0)
367
 
368
/* Bit definitions and macros for MCF_FEC_RMON_R_OCTETS */
369
#define MCF_FEC_RMON_R_OCTETS_Value(x)       (((x)&0xFFFFFFFF)<<0)
370
 
371
/* Bit definitions and macros for MCF_FEC_IEEE_R_DROP */
372
#define MCF_FEC_IEEE_R_DROP_Value(x)         (((x)&0xFFFFFFFF)<<0)
373
 
374
/* Bit definitions and macros for MCF_FEC_IEEE_R_FRAME_OK */
375
#define MCF_FEC_IEEE_R_FRAME_OK_Value(x)     (((x)&0xFFFFFFFF)<<0)
376
 
377
/* Bit definitions and macros for MCF_FEC_IEEE_R_CRC */
378
#define MCF_FEC_IEEE_R_CRC_Value(x)          (((x)&0xFFFFFFFF)<<0)
379
 
380
/* Bit definitions and macros for MCF_FEC_IEEE_R_ALIGN */
381
#define MCF_FEC_IEEE_R_ALIGN_Value(x)        (((x)&0xFFFFFFFF)<<0)
382
 
383
/* Bit definitions and macros for MCF_FEC_IEEE_R_MACERR */
384
#define MCF_FEC_IEEE_R_MACERR_Value(x)       (((x)&0xFFFFFFFF)<<0)
385
 
386
/* Bit definitions and macros for MCF_FEC_IEEE_R_FDXFC */
387
#define MCF_FEC_IEEE_R_FDXFC_Value(x)        (((x)&0xFFFFFFFF)<<0)
388
 
389
/* Bit definitions and macros for MCF_FEC_IEEE_R_OCTETS_OK */
390
#define MCF_FEC_IEEE_R_OCTETS_OK_Value(x)    (((x)&0xFFFFFFFF)<<0)
391
 
392
 
393
#endif /* __MCF52259_FEC_H__ */

powered by: WebSVN 2.1.0

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