void eth_smi_write(uint8_t phy, uint8_t reg, uint16_t data)
Write 16-bit register to the PHY.
uint16_t eth_smi_read(uint8_t phy, uint8_t reg)
Read the 16-bit register from the PHY.
#define PHY_REG_BCR_RESET
bool phy_link_isup(uint8_t phy)
Is the link up ?
void phy_reset(uint8_t phy)
Reset the PHY.