table of contents
other versions
- wheezy 3.2.78-1
PHY_START_MACHINE(9) | Network device support | PHY_START_MACHINE(9) |
NAME¶
phy_start_machine - start PHY state machine trackingSYNOPSIS¶
void
phy_start_machine(struct phy_device * phydev,
void (*handler) (struct net_device *));
ARGUMENTS¶
phydevthe phy_device struct
handler
callback function for state change
notifications
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.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |