Re: [PATCH 11/15] soc: octeontx2: Add Marvell OcteonTX2 CGX driver

From: Arnd Bergmann
Date: Tue Aug 28 2018 - 08:10:27 EST


On Tue, Aug 28, 2018 at 12:58 PM <sunil.kovvuri@xxxxxxxxx> wrote:
>
> From: Sunil Goutham <sgoutham@xxxxxxxxxxx>
>
> This patch adds basic template for Marvell OcteonTX2's
> CGX ethernet interface driver. Just the probe.
> RVU AF driver will use APIs exported by this driver
> for various things like PF to physical interface mapping,
> loopback mode, interface stats etc.
>
> Signed-off-by: Sunil Goutham <sgoutham@xxxxxxxxxxx>
> ---
> drivers/soc/marvell/Kconfig | 10 +++
> drivers/soc/marvell/octeontx2/Makefile | 2 +
> drivers/soc/marvell/octeontx2/cgx.c | 117 +++++++++++++++++++++++++++++++++
> drivers/soc/marvell/octeontx2/cgx.h | 20 ++++++

If this is a regular PCI ethernet driver, why do you put it into driver/soc
rather than drivers/net/ethernet/ ?

Arnd