1GENPHY_UPDATE_LINK(9)       Network device support       GENPHY_UPDATE_LINK(9)
2
3
4

NAME

6       genphy_update_link - update link status in phydev
7

SYNOPSIS

9       int genphy_update_link(struct phy_device * phydev);
10

ARGUMENTS

12       phydev
13           target phy_device struct
14

DESCRIPTION

16       Update the value in phydev->link to reflect the current link value. In
17       order to do this, we need to read the status register twice, keeping
18       the second value.
19
21Kernel Hackers Manual 3.10         June 2019             GENPHY_UPDATE_LINK(9)
Impressum