![]() |
![]() |
Defines | |
| #define | SGMII_MODE_OF_OPERATION_WITH_AN 0x1 |
| #define | SGMII_MODE_OF_OPERATION_WITHOUT_AN 0x2 |
| #define | SGMII_STATUS_FIB_SIG_DETECT 0x00000020 |
| #define | SGMII_STATUS_LOCK 0x00000010 |
| #define | SGMII_STATUS_MR_PAGE_NEXT 0x00000008 |
| #define | SGMII_STATUS_MR_AN_COMPLTE 0x00000004 |
| #define | SGMII_STATUS_AN_ERROR 0x00000002 |
| #define | SGMII_STATUS_LINK 0x00000001 |
| #define | SGMII_ERROR_INVALID 1 |
| #define | SGMII_ERROR_DEVICE 2 |
| #define SGMII_ERROR_DEVICE 2 |
Device hardware error
| #define SGMII_ERROR_INVALID 1 |
Error codes Function or calling parameter is invalid
| #define SGMII_MODE_OF_OPERATION_WITH_AN 0x1 |
macros for mode of operation of SGMII To select auto negotiation mode
| #define SGMII_MODE_OF_OPERATION_WITHOUT_AN 0x2 |
Not to select auto negotiation mode
| #define SGMII_STATUS_AN_ERROR 0x00000002 |
Auto negotiation status
| #define SGMII_STATUS_FIB_SIG_DETECT 0x00000020 |
These macros can be used to extract the specific status value read from STATUS reg Fiber signal detect status
| #define SGMII_STATUS_LINK 0x00000001 |
link indicator
| #define SGMII_STATUS_LOCK 0x00000010 |
lock status
| #define SGMII_STATUS_MR_AN_COMPLTE 0x00000004 |
Auto negotiation complete status
| #define SGMII_STATUS_MR_PAGE_NEXT 0x00000008 |
Next page received status