1. NAME

genphy_update_link - update link status in phydev

2. SYNOPSIS

int genphy_update_link(struct phy_device *  phydev );

3. ARGUMENTS

phydev
    target phy_device struct

4. DESCRIPTION

Update the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.

5. COPYRIGHT