/* Reset the PHY. 
Reset the PHY chip and wait for done  */
void phy_reset(uint8_t phy)
/* Reset the PHY. 
Reset the PHY chip and wait for done  */
void phy_reset(uint8_t phy)
{
	eth_smi_write(phy, PHY_REG_BCR, PHY_REG_BCR_RESET);
	while (eth_smi_read(phy, PHY_REG_BCR) & PHY_REG_BCR_RESET);
}