Defines |
#define | MDIO_ENB (1<<31) |
#define | MDIO_WR_TA (2<<16) |
#define | MDIO_RD_TA (3<<16) |
#define | MDIO_DATA(data) ((data)&0xFFFF) |
#define | MDIO_DEVICE(dev) (((dev)&0x1F)<<18) |
#define | MDIO_PORT(port) (((port)&0x1F)<<23) |
#define | MDIO_OP(op) (((op)&0x3)<<28) |
#define | MDIO_OP_ADDR 0 |
#define | MDIO_OP_WRITE 1 |
#define | MDIO_OP_READ_INC 2 |
#define | MDIO_OP_READ 3 |
#define | MDIO_BUSY (1<<31) |
Functions |
int | xsp3_mdio_write_reg (int path, int card, u_int32_t value) |
| Write single value to MDIO firmware.
|
int | xsp3_mdio_read_reg (int path, int card, u_int32_t *reg) |
| Read single value from MDIO firmware.
|
int | xsp3_mdio_set_connection (int path, int card, int conn) |
| Set conection type to MDIO interface on FMC, via Aux connector or via FMC connector.
|
int | xsp3_mdio_display (int path, int card) |
| Read and print data from the AEL2005 10GE PHY.
|
int | xsp3_mdio_write (int path, int card, int port, int device, int addr, int data) |
| Write data to the AEL2005 10GE PHY.
|
int | xsp3_mdio_read (int path, int card, int port, int device, int addr, u_int32_t *data) |
| Read data from the AEL2005 10GE PHY.
|
int | xsp3_mdio_read_inc (int path, int card, int port, int device, u_int32_t *data) |
| Read data from the AEL2005 10GE PHY andincrement internal address.
|
Variables |
XSP3Path | Xsp3Sys [XSP3_MAX_PATH] |
char | error_message [] |