On 5/30/2020 4:51 AM, Vladimir Oltean wrote:
> From: Maxim Kochetkov <[email protected]>
> 
> Add the register definitions for the MSCC MIIM MDIO controller in
> preparation for seville_vsc9959.c to create its accessors for the
> internal MDIO bus.
> 
> Since we've introduced elements to ocelot_regfields that are not
> instantiated by felix and ocelot, we need to define the size of the
> regfields arrays explicitly, otherwise ocelot_regfields_init, which
> iterates up to REGFIELD_MAX, will fault on the undefined regfield
> entries (if we're lucky).
> 
> Signed-off-by: Maxim Kochetkov <[email protected]>
> Signed-off-by: Vladimir Oltean <[email protected]>

Reviewed-by: Florian Fainelli <[email protected]>
-- 
Florian

Reply via email to