Skip to content
Commit c1633843 authored by Russell King (Oracle)'s avatar Russell King (Oracle) Committed by Xiaolei Wang
Browse files

net: phylink: add phylink_get_link_timer_ns() helper



commit  cc8ee2386adbe9fb599b37594f7af2e62ef0d1f8 from
https://github.com/nxp-imx/linux-imx lf-6.1.y

Add a helper to convert the PHY interface mode to the required link
timer setting as stated by the appropriate standard. Inappropriate
interface modes return an error.

Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit 9c5a1706

)
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent d0ea5092
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment