/* Get the current link status. 
Retrieve the link speed and duplex status of the link. */
enum phy_status phy_link_status(uint8_t phy)
/* Get the current link status. 
Retrieve the link speed and duplex status of the link. */
enum phy_status phy_link_status(uint8_t phy)
{
	return eth_smi_read(phy, KSZ80X1_CR1) & 0x07;
}