1PHY_PREPARE_LINK(9) Network device support PHY_PREPARE_LINK(9)
2
3
4
6 phy_prepare_link - prepares the PHY layer to monitor link status
7
9 void phy_prepare_link(struct phy_device * phydev,
10 void (*handler) (struct net_device *));
11
13 phydev
14 target phy_device struct
15
16 handler
17 callback function for link status change notifications
18
20 Tells the PHY infrastructure to handle the gory details on monitoring
21 link status (whether through polling or an interrupt), and to call back
22 to the connected device driver when the link status changes. If you
23 want to monitor your own link state, don't call this function.
24
26Kernel Hackers Manual 2.6. November 2011 PHY_PREPARE_LINK(9)