table of contents
other versions
GENPHY_READ_STATUS(9) | Network device support | GENPHY_READ_STATUS(9) |
NAME¶
genphy_read_status - check the link status and update current link stateSYNOPSIS¶
int genphy_read_status(struct phy_device * phydev);
ARGUMENTS¶
struct phy_device * phydevtarget phy_device struct
DESCRIPTION¶
Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |