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

net: phylink: provide phylink_pcs_config() and phylink_pcs_link_up()



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

Add two helper functions for calling PCS methods. phylink_pcs_config()
allows us to handle PCS configuration specifics in one location, rather
than the two call sites. phylink_pcs_link_up() gives us consistency.

Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1q1TzK-007Exd-Rs@rmk-PC.armlinux.org.uk
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit ae4899bb

)
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent e7b099e1
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