iPXE
|
MII interface operations. More...
#include <mii.h>
Data Fields | |
int(* | read )(struct mii_interface *mdio, unsigned int phy, unsigned int reg) |
Read from MII register. More... | |
int(* | write )(struct mii_interface *mdio, unsigned int phy, unsigned int reg, unsigned int data) |
Write to MII register. More... | |
int( * mii_operations::read) (struct mii_interface *mdio, unsigned int phy, unsigned int reg) |
Read from MII register.
mdio | MII interface |
phy | PHY address |
reg | Register address |
data | Data read, or negative error |
Definition at line 27 of file mii.h.
Referenced by mii_read().
int( * mii_operations::write) (struct mii_interface *mdio, unsigned int phy, unsigned int reg, unsigned int data) |
Write to MII register.
mdio | MII interface |
phy | PHY address |
reg | Register address |
data | Data to write |
rc | Return status code |
Definition at line 38 of file mii.h.
Referenced by mii_write().