Skip to content
Commit e34d6569 authored by Phil Reid's avatar Phil Reid Committed by David S. Miller
Browse files

stmmac: create of compatible mdio bus for stmmac driver



The DSA driver needs to be passed a reference to an mdio bus. Typically
the mac is configured to use a fixed link but the mdio bus still needs
to be registered so that it con configure the switch.
This patch follows the same process as the altera tse ethernet driver for
creation of the mdio bus.

Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarPhil Reid <preid@electromag.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93d085d2
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