Stop the phy state machine tracking
void phy_stop_machine(struct phy_device * phydev);
phydev
target phy_device struct
Stops the state machine timer, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.