1GENPHY_UPDATE_LINK(9) Network device support GENPHY_UPDATE_LINK(9)
23
4
NAME
6genphy_update_link - update link status in phydev
7
SYNOPSIS
9int genphy_update_link(struct phy_device * phydev);
10
ARGUMENTS
12phydev
13target phy_device struct
14
DESCRIPTION
16Update the value in phydev->link to reflect the current link value. In
17order to do this, we need to read the status register twice, keeping
18the second value.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 GENPHY_UPDATE_LINK(9)