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

NAME

6       phy_start_machine - start PHY state machine tracking
7

SYNOPSIS

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

ARGUMENTS

13       phydev
14           the phy_device struct
15
16       handler
17           callback function for state change notifications
18

DESCRIPTION

20       The PHY infrastructure can run a state machine which tracks whether the
21       PHY is starting up, negotiating, etc. This function starts the timer
22       which tracks the state of the PHY. If you want to be notified when the
23       state changes, pass in the callback handler, otherwise, pass NULL. If
24       you want to maintain your own state machine, do not call this function.
25
27Kernel Hackers Manual 2.6.         June 2019              PHY_START_MACHINE(9)
Impressum