⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 btables.h

📁 开发Inetl IXP2400平台所必须的硬件诊断和测试程序。该软件包支持的功能包括CPU基本功能检测
💻 H
📖 第 1 页 / 共 5 页
字号:
    { (bb_RegPointer_type) 0x05B3,    0x0000 },
    { (bb_RegPointer_type) 0x05B4,    0x0003 },
    { (bb_RegPointer_type) 0x05B5,    0x0008 },
    { (bb_RegPointer_type) 0x05B8,    0x0003 },
    { (bb_RegPointer_type) 0x05B9,    0x002B },
    { (bb_RegPointer_type) 0x05BC,    0x0003 },
    { (bb_RegPointer_type) 0x05BD,    0x0008 },
    { (bb_RegPointer_type) 0x05D1,    0x0000 },
    { (bb_RegPointer_type) 0x05D5,    0x0000 },
    { (bb_RegPointer_type) 0x05D9,    0x0000 },
    /* IXF6048 MST Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x0690,    0x0500 },
    { (bb_RegPointer_type) 0x06B0,    0x0000 },
    { (bb_RegPointer_type) 0x06B1,    0x0003 },
    { (bb_RegPointer_type) 0x06B2,    0x002B },
    { (bb_RegPointer_type) 0x06B3,    0x0000 },
    { (bb_RegPointer_type) 0x06B4,    0x0003 },
    { (bb_RegPointer_type) 0x06B5,    0x0008 },
    { (bb_RegPointer_type) 0x06B8,    0x0003 },
    { (bb_RegPointer_type) 0x06B9,    0x002B },
    { (bb_RegPointer_type) 0x06BC,    0x0003 },
    { (bb_RegPointer_type) 0x06BD,    0x0008 },
    { (bb_RegPointer_type) 0x06D1,    0x0000 },
    { (bb_RegPointer_type) 0x06D5,    0x0000 },
    { (bb_RegPointer_type) 0x06D9,    0x0000 },
    /* IXF6048 MST Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x0790,    0x0500 },
    { (bb_RegPointer_type) 0x07B0,    0x0000 },
    { (bb_RegPointer_type) 0x07B1,    0x0003 },
    { (bb_RegPointer_type) 0x07B2,    0x002B },
    { (bb_RegPointer_type) 0x07B3,    0x0000 },
    { (bb_RegPointer_type) 0x07B4,    0x0003 },
    { (bb_RegPointer_type) 0x07B5,    0x0008 },
    { (bb_RegPointer_type) 0x07B8,    0x0003 },
    { (bb_RegPointer_type) 0x07B9,    0x002B },
    { (bb_RegPointer_type) 0x07BC,    0x0003 },
    { (bb_RegPointer_type) 0x07BD,    0x0008 },
    { (bb_RegPointer_type) 0x07D1,    0x0000 },
    { (bb_RegPointer_type) 0x07D5,    0x0000 },
    { (bb_RegPointer_type) 0x07D9,    0x0000 },
    /* IXF6048 RX MSA Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x04A0,    0x0000 },
    { (bb_RegPointer_type) 0x04D2,    0x0026 },
    { (bb_RegPointer_type) 0x04D6,    0x0000 },
    { (bb_RegPointer_type) 0x04DA,    0x0000 },
    /* IXF6048 RX MSA Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x05A0,    0x0000 },
    { (bb_RegPointer_type) 0x05D2,    0x0000 },
    { (bb_RegPointer_type) 0x05D6,    0x0000 },
    { (bb_RegPointer_type) 0x05DA,    0x0000 },
    /* IXF6048 RX MSA Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x06A0,    0x0000 },
    { (bb_RegPointer_type) 0x06D2,    0x0000 },
    { (bb_RegPointer_type) 0x06D6,    0x0000 },
    { (bb_RegPointer_type) 0x06DA,    0x0000 },
    /* IXF6048 RX MSA Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x07A0,    0x0000 },
    { (bb_RegPointer_type) 0x07D2,    0x0000 },
    { (bb_RegPointer_type) 0x07D6,    0x0000 },
    { (bb_RegPointer_type) 0x07DA,    0x0000 },
    /* IXF6048 RX HPM Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x04A4,    0x4058 },
    { (bb_RegPointer_type) 0x04A5,    0x0200 },
    { (bb_RegPointer_type) 0x04D7,    0x0000 },
    /* IXF6048 RX HPM Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x05A4,    0x4058 },
    { (bb_RegPointer_type) 0x05A5,    0x0200 },
    { (bb_RegPointer_type) 0x05D7,    0x0000 },
    /* IXF6048 RX HPM Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x06A4,    0x607C },
    { (bb_RegPointer_type) 0x06A5,    0x0200 },
    { (bb_RegPointer_type) 0x06D7,    0x0000 },
    /* IXF6048 RX HPM Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x07A4,    0x607C },
    { (bb_RegPointer_type) 0x07A5,    0x0200 },
    { (bb_RegPointer_type) 0x07D7,    0x0000 },
    /* IXF6048 RMST Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x04E0,    0x8040 },
    { (bb_RegPointer_type) 0x04E1,    0x0124 },
    { (bb_RegPointer_type) 0x04E2,    0x000A },
    /* IXF6048 RMST Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x05E0,    0x8040 },
    { (bb_RegPointer_type) 0x05E1,    0x0124 },
    { (bb_RegPointer_type) 0x05E2,    0x800A },
    /* IXF6048 RMST Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x06E0,    0x8040 },
    { (bb_RegPointer_type) 0x06E1,    0x0124 },
    { (bb_RegPointer_type) 0x06E2,    0x800A },
    /* IXF6048 RMST Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x07E0,    0x8040 },
    { (bb_RegPointer_type) 0x07E1,    0x0124 },
    { (bb_RegPointer_type) 0x07E2,    0x800A },
    /* IXF6048 TX MSA Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x04E9,    0x8000 },
    /* IXF6048 TX MSA Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x05E9,    0x8800 },
    /* IXF6048 TX MSA Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x06E9,    0x8800 },
    /* IXF6048 TX MSA Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x07E9,    0x8800 },
    /* IXF6048 TX HPM Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x04E8,    0x0140 },
    { (bb_RegPointer_type) 0x04EF,    0x04C0 },
    /* IXF6048 TX HPM Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x05E8,    0x0140 },
    { (bb_RegPointer_type) 0x05EF,    0x04C0 },
    /* IXF6048 TX HPM Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x06E8,    0x0140 },
    { (bb_RegPointer_type) 0x06EF,    0x04C0 },
    /* IXF6048 TX HPM Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x07E8,    0x0140 },
    { (bb_RegPointer_type) 0x07EF,    0x04C0 },
    /* IXF6048 RX ATM Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x0420,    0x0783 },
    { (bb_RegPointer_type) 0x0421,    0xFF01 },
    { (bb_RegPointer_type) 0x042C,    0x0000 },
    /* IXF6048 RX ATM Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x0520,    0x0183 },
    { (bb_RegPointer_type) 0x0521,    0xFF01 },
    { (bb_RegPointer_type) 0x052C,    0x0000 },
    /* IXF6048 RX ATM Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x0620,    0x0183 },
    { (bb_RegPointer_type) 0x0621,    0xFF01 },
    { (bb_RegPointer_type) 0x062C,    0x0000 },
    /* IXF6048 RX ATM Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x0720,    0x0183 },
    { (bb_RegPointer_type) 0x0721,    0xFF01 },
    { (bb_RegPointer_type) 0x072C,    0x0000 },
    /* IXF6048 TX ATM Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x0410,    0x0023 },
    { (bb_RegPointer_type) 0x0411,    0x6A01 },
    { (bb_RegPointer_type) 0x0417,    0x0000 },
    /* IXF6048 TX ATM Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x0510,    0x0023 },
    { (bb_RegPointer_type) 0x0511,    0x6A01 },
    { (bb_RegPointer_type) 0x0517,    0x0000 },
    /* IXF6048 TX ATM Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x0610,    0x0023 },
    { (bb_RegPointer_type) 0x0611,    0x6A01 },
    { (bb_RegPointer_type) 0x0617,    0x0000 },
    /* IXF6048 TX ATM Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x0710,    0x0023 },
    { (bb_RegPointer_type) 0x0711,    0x6A01 },
    { (bb_RegPointer_type) 0x0717,    0x0000 },
    /* IXF6048 RX POS Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x0460,    0x006F },
    { (bb_RegPointer_type) 0x0461,    0x0002 },
    { (bb_RegPointer_type) 0x0462,    0x0600 },
    { (bb_RegPointer_type) 0x0470,    0x0000 },
    /* IXF6048 RX POS Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x0560,    0x006F },
    { (bb_RegPointer_type) 0x0561,    0x0002 },
    { (bb_RegPointer_type) 0x0562,    0x0600 },
    { (bb_RegPointer_type) 0x0570,    0x0000 },
    /* IXF6048 RX POS Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x0660,    0x006F },
    { (bb_RegPointer_type) 0x0661,    0x0002 },
    { (bb_RegPointer_type) 0x0662,    0x0600 },
    { (bb_RegPointer_type) 0x0670,    0x0000 },
    /* IXF6048 RX POS Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x0760,    0x006F },
    { (bb_RegPointer_type) 0x0761,    0x0002 },
    { (bb_RegPointer_type) 0x0762,    0x0600 },
    { (bb_RegPointer_type) 0x0770,    0x0000 },
    /* IXF6048 TX POS Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x0440,    0x004F },
    { (bb_RegPointer_type) 0x0441,    0x0401 },
    { (bb_RegPointer_type) 0x044A,    0x0000 },
    /* IXF6048 TX POS Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x0540,    0x004F },
    { (bb_RegPointer_type) 0x0541,    0x0401 },
    { (bb_RegPointer_type) 0x054A,    0x0000 },
    /* IXF6048 TX POS Register Block Channel = 2 */
    { (bb_RegPointer_type) 0x0640,    0x004F },
    { (bb_RegPointer_type) 0x0641,    0x0401 },
    { (bb_RegPointer_type) 0x064A,    0x0000 },
    /* IXF6048 TX POS Register Block Channel = 3 */
    { (bb_RegPointer_type) 0x0740,    0x004F },
    { (bb_RegPointer_type) 0x0741,    0x0401 },
    { (bb_RegPointer_type) 0x074A,    0x0000 },
    { (bb_RegPointer_type) 0xFFFF,    0xA5A5 }
};



/* Line Side Configuration for Battery Drew 16-bit LVPECL at 155.52 MHz */
/* On Utopia Side uses 32-bit wide POS-PHY L2. */
/* Only Direct mode Addressing is supported    */
/* Line Side Configuration for Battery Drew 16-bit LVPECL at 155.52 MHz */
/* On Utopia Side uses Utopia 3 Single PHY 32-bit wide POS-PHY L2. */
/* Only Direct mode Addressing is supported    */
static const InitRegTable_t channelBDInitArray[] = { 
{(bb_RegPointer_type) (GOCNF),	0x0036}, /* Single Mode */

/* channel conf */
{(bb_RegPointer_type) (COCNF(0)),		0x0003},	/* Channel 0 disabled and in OC48 mode*/
{(bb_RegPointer_type) (R_COCNF(0)),	0x00F2},	/* TBD ATM or POS? Currently ATM 16 bit PECL 
                                          Receive output clock tristated */
{(bb_RegPointer_type) (T_COCNF(0)),	0x00F2},    /* TBD ATM or POS? Currently ATM 16 bit PECL 
                                            Rest of Configuration is TBD */
                        
    { (bb_RegPointer_type) 0xFFFF,    0xA5A5 }
 };

/* Line Side Configuration for Battery Wallace is 8-bit LVTTL */
static const InitRegTable_t channelBWInitArray[] = { 

/*  channel conf - channel 0 */
{(bb_RegPointer_type) (COCNF(0)),		0x0002},    /* Channel 0 disabled and in OC12 mode*/
{(bb_RegPointer_type) (R_COCNF(0)),	0x00ea},	/* TBD ATM or POS? Currently ATM 8 bit TTL 
                                                               Receive output clock tristated */
{(bb_RegPointer_type) (T_COCNF(0)),	0x03ea},    /* TBD ATM or POS? Currently ATM 8 bit TTL 
                                                               Rest of Configuration is TBD 
                                                               Original configuration was 0x060a*/
                                                                    
                                                                    /*  channel conf - channel 1 */
{(bb_RegPointer_type) (COCNF(1)),		0x0002},    /* Channel 0 disabled and in OC12 mode*/
{(bb_RegPointer_type) (R_COCNF(1)),	0x00ea},	
{(bb_RegPointer_type) (T_COCNF(1)),	0x03ea},    

/*  channel conf - channel 2 */
{(bb_RegPointer_type) (COCNF(2)),		0x0002},    /* Channel 0 disabled and in OC12 mode*/
{(bb_RegPointer_type) (R_COCNF(2)),	0x00ea},	
{(bb_RegPointer_type) (T_COCNF(2)),	0x03ea},    
/*  channel conf - channel 3 */
{(bb_RegPointer_type) (COCNF(3)),		0x0002},    /* Channel 0 disabled and in OC12 mode*/
{(bb_RegPointer_type) (R_COCNF(3)),	0x00ea},	
{(bb_RegPointer_type) (T_COCNF(3)),	0x03ea},    

{ (bb_RegPointer_type) 0xFFFF,    0xA5A5 }
};
#endif

/* Initializes Battery Drew for PRBS Internal Loopback mode */
static const InitRegTable_t BDIntLoopbackArray[] = 
{
/* Note: Channel applies depending of the Chip Block as:
   Channel could represent the DataLine
   Channel could represent the group
   Channel could represent the Tributary
   Channel could represent the Line */

    /* IXF6048 Global Cnfg Register Block */
    { (bb_RegPointer_type) 0x0001,    0x0001 },
    { (bb_RegPointer_type) 0x0003,    0x0000 },
    { (bb_RegPointer_type) 0x0004,    0x0000 },
    { (bb_RegPointer_type) 0x0008,    0x0028 },
    { (bb_RegPointer_type) 0x000C,    0x0000 },
    { (bb_RegPointer_type) 0x000D,    0x0000 },
    { (bb_RegPointer_type) 0x000E,    0x0000 },
    { (bb_RegPointer_type) 0x000F,    0xF001 },
    { (bb_RegPointer_type) 0x0010,    0x0000 },
    { (bb_RegPointer_type) 0x0011,    0x0000 },
    { (bb_RegPointer_type) 0x0014,    0x0010 },
    { (bb_RegPointer_type) 0x0015,    0x0000 },
    { (bb_RegPointer_type) 0x001E,    0x0000 },
    { (bb_RegPointer_type) 0x001B,    0x000F },
    { (bb_RegPointer_type) 0x001D,    0x0000 },
    { (bb_RegPointer_type) 0x0020,    0x0000 },
    /* IXF6048 Channel Confg Register Block Channel = 0 */
    { (bb_RegPointer_type) 0x0009,    0x0017 },
    { (bb_RegPointer_type) 0x000A,    0x0010 },
    { (bb_RegPointer_type) 0x000B,    0x0210 },
    /* IXF6048 Channel Confg Register Block Channel = 1 */
    { (bb_RegPointer_type) 0x0109,    0x0012 },
    { (bb_RegPointer_type) 0x010A,    0x00EA },

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -