Commit ca785888 authored by Jesse Van Gavere's avatar Jesse Van Gavere Committed by Jakub Kicinski
Browse files

net: dsa: microchip: Make MDIO bus name unique



In configurations with 2 or more DSA clusters it will fail to allocate
unique MDIO bus names as only the switch ID is used, fix this by using
a combination of the tree ID and switch ID when needed

Signed-off-by: default avatarJesse Van Gavere <jesse.vangavere@scioteq.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241206204202.649912-1-jesse.vangavere@scioteq.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2d20773a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment