table of contents
other versions
- stretch 4.9.168-1
PHY_PREPARE_LINK(9) | Network device support | PHY_PREPARE_LINK(9) |
NAME¶
phy_prepare_link - prepares the PHY layer to monitor link statusSYNOPSIS¶
void phy_prepare_link(struct phy_device * phydev, void (*handler) (struct net_device *));
ARGUMENTS¶
phydevtarget phy_device struct
handler
callback function for link status change
notifications
DESCRIPTION¶
Tells the PHY infrastructure to handle the gory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |