commit | 3cf0f2efbc7283751eff8905497c1b617ff3061b | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Wed Nov 21 13:05:34 2018 +0200 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Jan 24 11:35:28 2019 -0600 |
tree | ae06dd79ef01bc3c43c34f6323076ae62ee35e91 | |
parent | 4f42c865370e1ae2d7df70433e8bacb5b06609cd [diff] |
net: mvpp2: mdio device per port Current code forces all ports on a given Ethernet device to use the same mdio device. In practice different ports might be wired to separate mdio devices. Move the mdio device from the container struct mvpp2 to the per port struct mvpp2_port. Cc: Ken Ma <make@marvell.com> Cc: Stefan Chulski <stefanc@marvell.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Stefan Roese <sr@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>