Skip to content
Commit f94a94ce authored by Russell King (Oracle)'s avatar Russell King (Oracle) Committed by Xulin Sun
Browse files

net: phylink: handle NA interface mode in phylink_fwnode_phy_connect()

commit e865e3202da5885051e66de31e5afcd2068140fa from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



commit a18e6521 upstream.

Commit 4904b6ea ("net: phy: phylink: Use PHY device interface if
N/A") introduced handling for the phy interface mode where this is not
known at phylink creation time. This was never added to the OF/fwnode
paths, but is necessary when the phy is present in DT, but the phy-mode
is not specified.

Add this handling.

Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 542e1aad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment