[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bb7c9b29-14d2-53ee-e0f9-bdf86f7da49d@gmail.com>
Date: Sat, 30 May 2020 13:46:38 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Vladimir Oltean <olteanv@...il.com>, davem@...emloft.net
Cc: netdev@...r.kernel.org, andrew@...n.ch, vivien.didelot@...il.com,
antoine.tenart@...tlin.com, alexandre.belloni@...tlin.com,
UNGLinuxDriver@...rochip.com, alexandru.marginean@....com,
claudiu.manoil@....com, madalin.bucur@....nxp.com,
radu-andrei.bulie@....com, fido_max@...ox.ru, broonie@...nel.org
Subject: Re: [PATCH v2 net-next 04/13] soc/mscc: ocelot: add MII registers
description
On 5/30/2020 4:51 AM, Vladimir Oltean wrote:
> From: Maxim Kochetkov <fido_max@...ox.ru>
>
> 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 <fido_max@...ox.ru>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists