![]() |
![]() |
EMAC_Common_Config. More...
#include <csl_emac.h>
Data Fields | |
| Uint8 | UseMdio |
| Uint32 | ModeFlags |
| Uint32 | MdioModeFlags |
| Uint32 | MdioPhyAddr |
| Uint8 | CoreNum |
| Uint32 | PktMTU |
EMAC_Common_Config.
The EMAC_Common_Config structure defines configurations common to all the cors when the EMAC device is operating. It is passed to the device when the device is initialized one time by the master core (EMAC_commonInit()), and remains in effect until the device is de-initialized by the master core (EMAC_commonDeInit()).
The following is a short description of the configuration fields:
UseMdio - Uses MDIO configuration if required. In case of SGMII MAC to MAC communication MDIO is not required. If this field is one (1) configures MDIO zero (0) does not configure MDIO
ModeFlags - Specify the Fixed Operating Mode of the Device:
MdioModeFlags - Specify the MDIO/PHY Operation (See csl_MDIO.H)
CoreNum - Specify the master core which does common initialization and de-initialization
PktMTU - Specify the maximal physical packet size
This member is for core selction to does the EMAC configuration i.e user can select the specific core to configure EMAC one time
CSL_MDIO Mode Flags (see CSL_MDIO.H)
PHY address (0-31) to be monitored by MDIO, specified by user when MDIO_MODEFLG_SPECPHYADDR is set in MdioModeFlags
Configuation Mode Flags
| Uint32 _EMAC_Common_Config::PktMTU |
Max physical packet size
MDIO Configuation select. User has to pass one (1) if MDIO Configuration is needed, if not should pass zero (0)