?? zl5011xvariant.h
字號:
/*******************************************************************************
*
* File name: zl5011xVariant.h
*
* Version: 14
*
* Author: MRC
*
* Date created: 30/10/2002
*
* Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
* All rights reserved.
*
* Module Description:
*
* This header file contains device limits for the various variants.
*
* Revision History:
*
* Rev: Date: Author: Comments:
* 1 30/10/2002 MRC Creation
* 2 31/10/2002 MRC Added variants + minor fixes
* 3 05/11/2002 MRC Added more variants
* 4 03/12/2002 MRC Updated variant information
* 5 27/07/2003 APL Updated variant information for ZL50130
* 6 06/09/2004 APL Added variant information for ZL50115-ZL50120.
* Significant restructuring.
* 7 15/09/2004 APL Added wanNumAuxClocks to the device limits info
* 8 09/12/2004 MRC Added extra device variants
* 9 21/01/2005 MRC Modified variant structure
* 10 03/02/2005 APL Added ZL30301 and ZL30302 device variants and
* modified variant structure
* 11 03/02/2005 APL Renamed device ID's to allow new family members
* 12 07/02/2005 APL Corrected channel limit for ZL30301/302
* 13 28/02/2005 APL Adjusted the limits for ZL30300/301/302
* 14 21/07/2005 MRC Added LAN port to use for discarding packets
*
*******************************************************************************/
#ifndef _ZL5011X_VARIANT_H
#define _ZL5011X_VARIANT_H
#ifdef __cplusplus
extern "C" {
#endif
/***************** # DEFINES **********************************************/
#define ZL5011X_AUX_CLK_STREAM 7
/* Array of limits for each device type. Index this using a zlDeviceTypeE variable */
const zl5011xDeviceLimitsS Zl5011xLimits[ZL_MAX_NUM_DEVICE_TYPES] =
{
{ /* limits for device ZL50110 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
8, 8, 2,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
8, 2,
/* NumLanPorts, NumGbitLanPorts */
2, 2,
/* lanDiscardPort */
3,
/* numContexts */
128,
/* numChannels */
256,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50111 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
32, 32, 8,
/* NumStreamsDS3, NumStreamsE3 */
2, 2,
/* NumStreamsFramed2M, NumStreamsFramed8M */
32, 8,
/* NumLanPorts, NumGbitLanPorts */
4, 2,
/* lanDiscardPort */
(Uint32T)ZL5011X_INVALID,
/* numContexts */
128,
/* numChannels */
1024,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50114 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
4, 4, 1,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
4, 1,
/* NumLanPorts, NumGbitLanPorts */
2, 2,
/* lanDiscardPort */
3,
/* numContexts */
128,
/* numChannels */
128,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50115 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
1, 1, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
1, 1,
/* NumLanPorts, NumGbitLanPorts */
1, 1,
/* lanDiscardPort */
3,
/* numContexts */
128,
/* numChannels */
32,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50116 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
2, 2, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
2, 1,
/* NumLanPorts, NumGbitLanPorts */
1, 1,
/* lanDiscardPort */
3,
/* numContexts */
128,
/* numChannels */
64,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50117 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
4, 4, 1,
/* NumStreamsDS3, NumStreamsE3 */
1, 1,
/* NumStreamsFramed2M, NumStreamsFramed8M */
4, 1,
/* NumLanPorts, NumGbitLanPorts */
1, 1,
/* lanDiscardPort */
3,
/* numContexts */
128,
/* numChannels */
128,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50118 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
1, 1, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
1, 1,
/* NumLanPorts, NumGbitLanPorts */
2, 1,
/* lanDiscardPort */
2,
/* numContexts */
128,
/* numChannels */
32,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50119 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
2, 2, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
2, 1,
/* NumLanPorts, NumGbitLanPorts */
2, 1,
/* lanDiscardPort */
2,
/* numContexts */
128,
/* numChannels */
64,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50120 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
4, 4, 1,
/* NumStreamsDS3, NumStreamsE3 */
1, 1,
/* NumStreamsFramed2M, NumStreamsFramed8M */
4, 1,
/* NumLanPorts, NumGbitLanPorts */
2, 1,
/* lanDiscardPort */
2,
/* numContexts */
128,
/* numChannels */
128,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL50130 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
0, 0, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
0, 0,
/* NumLanPorts, NumGbitLanPorts */
4, 0,
/* lanDiscardPort */
(Uint32T)ZL5011X_INVALID,
/* numContexts */
128,
/* numChannels */
0,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_TRUE
},
{ /* limits for device ZL80041 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
32, 32, 8,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
0, 0,
/* NumLanPorts, NumGbitLanPorts */
4, 2,
/* lanDiscardPort */
(Uint32T)ZL5011X_INVALID,
/* numContexts */
64,
/* numChannels */
32,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_FALSE
},
{ /* limits for device ZL30300 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
32, 32, 8,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
0, 0,
/* NumLanPorts, NumGbitLanPorts */
2, 1,
/* lanDiscardPort */
2,
/* numContexts */
64,
/* numChannels */
32,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_FALSE
},
{ /* limits for device ZL30301 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
4, 4, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
0, 0,
/* NumLanPorts, NumGbitLanPorts */
2, 1,
/* lanDiscardPort */
2,
/* numContexts */
64,
/* numChannels */
32,
/* AuxClockNum */
ZL5011X_AUX_CLK_STREAM,
/* cesAvailable */
ZL5011X_FALSE
},
{ /* limits for device ZL30302 */
/* NumStreamsE1, NumStreamsDS1, NumStreamsJ2 */
32, 32, 0,
/* NumStreamsDS3, NumStreamsE3 */
0, 0,
/* NumStreamsFramed2M, NumStreamsFramed8M */
0, 0,
/* NumLanPorts, NumGbitLanPorts */
2, 1,
/* lanDiscardPort */
2,
/* numContexts */
64,
/* numChannels */
32,
/* AuxClockNum */
0,
/* cesAvailable */
ZL5011X_FALSE
}
};
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -