table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
GENPHY_UPDATE_LINK(9) | Network device support | GENPHY_UPDATE_LINK(9) |
NAME¶
genphy_update_link - update link status in phydevSYNOPSIS¶
int
genphy_update_link(struct phy_device * phydev);
ARGUMENTS¶
phydevtarget phy_device struct
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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |