1. NAME▲
phy_start_machine - start PHY state machine tracking
2. SYNOPSIS ▲
void phy_start_machine(struct phy_device * phydev , void (* handler ) (struct net_device *));
3. ARGUMENTS ▲
phydev
the phy_device struct
handler
callback function for state change notifications
4. DESCRIPTION ▲
The PHY infrastructure can run a state machine which tracks whether the PHY is starting up, negotiating, etc. This function starts the timer which tracks the state of the PHY. If you want to be notified when the state changes, pass in the callback handler, otherwise, pass NULL. If you want to maintain your own state machine, do not call this function.
5. COPYRIGHT ▲