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

NAME

6       phy_prepare_link - prepares the PHY layer to monitor link status
7

SYNOPSIS

9       void phy_prepare_link(struct phy_device * phydev,
10                             void (*handler) (struct net_device *));
11

ARGUMENTS

13       phydev
14           target phy_device struct
15
16       handler
17           callback function for link status change notifications
18

DESCRIPTION

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.         June 2019               PHY_PREPARE_LINK(9)
Impressum