
31 Jul
2018
31 Jul
'18
1:35 a.m.
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki jagan@amarulasolutions.com wrote:
mdio initialization in dm code is assigning bus->priv with pointer to struct ethernet_regs which leads to improper mii. Add proper udevice to store mii_bus priv and reuse the same in mdio ops.
Also refactor mdio code, to make common ops for dm and non-dm.
Signed-off-by: Jagan Teki jagan@amarulasolutions.com
Acked-by: Joe Hershberger joe.hershberger@ni.com