PHY_SPEED_DOWN(9) | Network device support | PHY_SPEED_DOWN(9) |
NAME¶
phy_speed_down - set speed to lowest speed supported by both link partners
SYNOPSIS¶
int phy_speed_down(struct phy_device * phydev, bool sync);
ARGUMENTS¶
phydev
the phy_device struct
sync
perform action synchronously
DESCRIPTION¶
Typically used to save energy when waiting for a WoL packet
WARNING¶
Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |