|
30 | 30 | #include <linux/ethtool.h>
|
31 | 31 | #include <linux/phy.h>
|
32 | 32 | #include <linux/phy_led_triggers.h>
|
33 |
| -#include <linux/timer.h> |
34 | 33 | #include <linux/workqueue.h>
|
35 | 34 | #include <linux/mdio.h>
|
36 | 35 | #include <linux/io.h>
|
@@ -705,8 +704,8 @@ EXPORT_SYMBOL(phy_start_aneg);
|
705 | 704 | *
|
706 | 705 | * Description: The PHY infrastructure can run a state machine
|
707 | 706 | * which tracks whether the PHY is starting up, negotiating,
|
708 |
| - * etc. This function starts the timer which tracks the state |
709 |
| - * of the PHY. If you want to maintain your own state machine, |
| 707 | + * etc. This function starts the delayed workqueue which tracks |
| 708 | + * the state of the PHY. If you want to maintain your own state machine, |
710 | 709 | * do not call this function.
|
711 | 710 | */
|
712 | 711 | void phy_start_machine(struct phy_device *phydev)
|
@@ -737,9 +736,9 @@ void phy_trigger_machine(struct phy_device *phydev, bool sync)
|
737 | 736 | * phy_stop_machine - stop the PHY state machine tracking
|
738 | 737 | * @phydev: target phy_device struct
|
739 | 738 | *
|
740 |
| - * Description: Stops the state machine timer, sets the state to UP |
741 |
| - * (unless it wasn't up yet). This function must be called BEFORE |
742 |
| - * phy_detach. |
| 739 | + * Description: Stops the state machine delayed workqueue, sets the |
| 740 | + * state to UP (unless it wasn't up yet). This function must be |
| 741 | + * called BEFORE phy_detach. |
743 | 742 | */
|
744 | 743 | void phy_stop_machine(struct phy_device *phydev)
|
745 | 744 | {
|
|
0 commit comments