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

📄 txc_envoy_mgmt_port_support.h

📁 TranSwitch Envoy CE2 & Envoy CE4 设备驱动及编程指南
💻 H
字号:
/*--------------------------------------------------------------------------

  *******                           ****
     *     *****     **    *    *  *       *    *   *  *****   ****   *    *
     *     *    *   *  *   **   *  *       *    *   *    *    *    *  *    *
     *     *    *  *    *  * *  *   ****   *    *   *    *    *       ******
     *     *****   ******  *  * *       *  * ** *   *    *    *       *    *
     *     *   *   *    *  *   **  *    *  **  **   *    *    *    *  *    *
     *     *    *  *    *  *    *   ****   *    *   *    *     ****   *    *

                        Proprietary and Confidential 

    This program is made available only to customers and prospective customers 
of TranSwitch Corporation under license and may be used only with TranSwitch 
semi-conductor products.

                      Copyright(c) 2004 TranSwitch Inc.

 --------------------------------------------------------------------------

             *******  **      **  **        **   ********   **      **
             *******  ***     **  **        **  **********  **      **
             **       ** *    **  **        **  **      **   **    **
             *****    **  *   **   **      **   **      **     *  *
             *****    **   *  **    **    **    **      **      **
             **       **    * **     **  **     **      **      **
             *******  **     ***      ****      **********      **
             *******  **      **       **        ********       **

 --------------------------------------------------------------------------
                           TranSwitch Envoy-CE2/CE4
                                Device Driver
 --------------------------------------------------------------------------
                                                                           
  Workfile:     txc_envoy_mac_support.h                                        
                                                                           
  Description:  This header file contains support function for Management 
                Port API functions.                               
                                                                           
 --------------------------------------------------------------------------
                              Revision History                             
 --------------------------------------------------------------------------
   Rev #     Date           Author                Description               
   -----    -------      -----------              -----------               
   0.5.0    6/03/04      F. Giannella         Initial release (beta)

 *--------------------------------------------------------------------------*/


#ifndef TXC_ENVOY_MGMT_PORT_SUPPORT_H
#define TXC_ENVOY_MGMT_PORT_SUPPORT_H


/****************************************************************************
 **                                Defines                                 **
 ****************************************************************************/



/****************************************************************************
 **                            Data Structures                             **
 ****************************************************************************/



/****************************************************************************
 **                          Function Prototypes                           **
 ****************************************************************************/


/* MAC validation functions */

TXC_U16BIT ENVOY_MgmtPortResetValid(TXC_U16BIT handle);

TXC_U16BIT ENVOY_SetMgmtPortConfigValid(TXC_U16BIT handle,
                                        ENVOY_MGMT_PORT_CFG_STRUCT  *mgmtPortDataPtr);

TXC_U16BIT ENVOY_GetMgmtPortConfigValid(TXC_U16BIT handle);


TXC_U16BIT ENVOY_PokeMacPhyRegValid(TXC_U16BIT handle, TXC_U16BIT phyAddr,
                                    TXC_U16BIT phyReg, TXC_U16BIT phyData);

TXC_U16BIT ENVOY_PeekMacPhyRegValid(TXC_U16BIT handle, TXC_U16BIT phyAddr,
                                    TXC_U16BIT phyReg);

/* virtual functions */
#ifdef TXC_ENVOY_VIRTUAL_DEVICE_MODE

/* placeholder */

#endif /* TXC_ENVOY_VIRTUAL_DEVICE_MODE */

/* Live functions */
#ifndef TXC_ENVOY_VIRTUAL_DEVICE_MODE

TXC_U16BIT ENVOY_MgmtPortResetReal(TXC_U16BIT handle);

TXC_U16BIT ENVOY_SetMgmtPortConfigReal(TXC_U16BIT handle,
                 ENVOY_MGMT_PORT_CFG_STRUCT *mgmtPortDataPtr);

TXC_U16BIT ENVOY_GetMgmtPortConfigReal(TXC_U16BIT handle,
                 ENVOY_MGMT_PORT_CFG_STRUCT *mgmtPortDataPtr);

TXC_U16BIT ENVOY_PokeMacPhyRegReal(TXC_U16BIT handle, TXC_U16BIT phyAddr,
                                   TXC_U16BIT phyReg, TXC_U16BIT phyData);

TXC_U16BIT ENVOY_PeekMacPhyRegReal(TXC_U16BIT handle, TXC_U16BIT phyAddr, 
                                   TXC_U16BIT phyReg, TXC_U16BIT * phyDataPtr);



#endif /* NOT TXC_ENVOY_VIRTUAL_DEVICE_MODE */


 /****************************************************************************
 **                              End of Module                             **
 ****************************************************************************/

#endif /* TXC_ENVOY_MGMT_PORT_SUPPORT_H */

⌨️ 快捷键说明

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