Skip to content
Commit 91e70367 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

net: phy: Use PHY MDIO address from DT if available



In case the PHY is fully described in DT, use PHY MDIO address
from DT directly instead of always using auto-detection. This
also fixes the behavior of 'mdio list' in such DT setup, which
now prints the PHY connected to the MAC correctly.

Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: default avatarPaul Barker <paul.barker.ct@bp.renesas.com>
parent 485bfe1a
Loading
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