[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6f92f3bd-9d97-9cea-b485-843521dcee9a@gmail.com>
Date: Tue, 12 Nov 2019 13:38:38 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Vladimir Oltean <olteanv@...il.com>, jakub.kicinski@...ronome.com,
davem@...emloft.net, alexandre.belloni@...tlin.com
Cc: andrew@...n.ch, vivien.didelot@...il.com,
joergen.andreasen@...rochip.com, allan.nielsen@...rochip.com,
horatiu.vultur@...rochip.com, claudiu.manoil@....com,
netdev@...r.kernel.org, Vladimir Oltean <vladimir.oltean@....com>
Subject: Re: [PATCH net-next 09/12] net: mscc: ocelot: publish ocelot_sys.h to
include/soc/mscc
On 11/12/19 4:44 AM, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@....com>
>
> The Felix DSA driver needs to write to SYS_RAM_INIT_RAM_INIT for its own
> chip initialization process.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
> ---
> drivers/net/ethernet/mscc/ocelot.h | 2 +-
> {drivers/net/ethernet => include/soc}/mscc/ocelot_sys.h | 0
> 2 files changed, 1 insertion(+), 1 deletion(-)
> rename {drivers/net/ethernet => include/soc}/mscc/ocelot_sys.h (100%)
This was not done before for include/soc/mscc/ocelot_hsio.h but you need
an update to the MAINTAINERS file to catch that file now:
$ ./scripts/get_maintainer.pl -f include/soc/mscc/ocelot_hsio.h
linux-kernel@...r.kernel.org (open list)
expected:
Alexandre Belloni <alexandre.belloni@...tlin.com> (supporter:MICROSEMI
ETHERNET SWITCH DRIVER)
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>
(supporter:MICROSEMI ETHERNET SWITCH DRIVER)
"David S. Miller" <davem@...emloft.net> (odd fixer:NETWORKING DRIVERS)
netdev@...r.kernel.org (open list:MICROSEMI ETHERNET SWITCH DRIVER)
>
> diff --git a/drivers/net/ethernet/mscc/ocelot.h b/drivers/net/ethernet/mscc/ocelot.h
> index 325afea3e846..32fef4f495aa 100644
> --- a/drivers/net/ethernet/mscc/ocelot.h
> +++ b/drivers/net/ethernet/mscc/ocelot.h
> @@ -18,12 +18,12 @@
> #include <linux/ptp_clock_kernel.h>
> #include <linux/regmap.h>
>
> +#include <soc/mscc/ocelot_sys.h>
> #include <soc/mscc/ocelot.h>
> #include "ocelot_ana.h"
> #include "ocelot_dev.h"
> #include "ocelot_qsys.h"
> #include "ocelot_rew.h"
> -#include "ocelot_sys.h"
> #include "ocelot_qs.h"
> #include "ocelot_tc.h"
> #include "ocelot_ptp.h"
> diff --git a/drivers/net/ethernet/mscc/ocelot_sys.h b/include/soc/mscc/ocelot_sys.h
> similarity index 100%
> rename from drivers/net/ethernet/mscc/ocelot_sys.h
> rename to include/soc/mscc/ocelot_sys.h
>
--
Florian
Powered by blists - more mailing lists