Query: genphy_update_link
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GENPHY_UPDATE_LINK(9) Network device support GENPHY_UPDATE_LINK(9)NAMEgenphy_update_link - update link status in phydevSYNOPSISint genphy_update_link(struct phy_device * phydev);ARGUMENTSphydev target phy_device structDESCRIPTIONUpdate 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 GENPHY_UPDATE_LINK(9)