diff options
| author | Andrew Lunn <[email protected]> | 2024-03-02 19:53:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-06 03:21:17 +0000 |
| commit | 6a2495adc0c83d039a872b75d9d348a5dd3eb9f4 (patch) | |
| tree | 0c2225062ad928f9c50f06a6f7db25566d9aefab /tools/net/ynl/cli.py | |
| parent | net: fec: Move fec_enet_eee_mode_set() and helper earlier (diff) | |
| download | kernel-6a2495adc0c83d039a872b75d9d348a5dd3eb9f4.tar.gz kernel-6a2495adc0c83d039a872b75d9d348a5dd3eb9f4.zip | |
net: fec: Fixup EEE
The enabling/disabling of EEE in the MAC should happen as a result of
auto negotiation. So move the enable/disable into
fec_enet_adjust_link() which gets called by phylib when there is a
change in link status.
fec_enet_set_eee() now just stores away the LPI timer value.
Everything else is passed to phylib, so it can correctly setup the
PHY.
fec_enet_get_eee() relies on phylib doing most of the work,
the MAC driver just adds the LPI timer value.
Call phy_support_eee() if the quirk is present to indicate the MAC
actually supports EEE.
Signed-off-by: Andrew Lunn <[email protected]>
Tested-by: Oleksij Rempel <[email protected]> (On iMX8MP debix)
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Wei Fang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions
