[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YFGE0t5LQuPp0M5h@unreal>
Date: Wed, 17 Mar 2021 06:25:54 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Jérôme Pouiller <jerome.pouiller@...abs.com>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kalle Valo <kvalo@...eaurora.org>,
"David S . Miller" <davem@...emloft.net>,
devicetree@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
linux-mmc@...r.kernel.org,
Pali Rohár <pali@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>
Subject: Re: [PATCH v5 03/24] wfx: add Makefile/Kconfig
On Mon, Mar 15, 2021 at 05:21:35PM +0100, Jérôme Pouiller wrote:
> Hi Leon,
>
> On Monday 15 March 2021 16:11:52 CET Leon Romanovsky wrote:
> > On Mon, Mar 15, 2021 at 02:24:40PM +0100, Jerome Pouiller wrote:
> > > From: Jérôme Pouiller <jerome.pouiller@...abs.com>
> > >
> > > Signed-off-by: Jérôme Pouiller <jerome.pouiller@...abs.com>
> > > ---
> > > drivers/net/wireless/silabs/wfx/Kconfig | 12 +++++++++++
> > > drivers/net/wireless/silabs/wfx/Makefile | 26 ++++++++++++++++++++++++
> > > 2 files changed, 38 insertions(+)
> > > create mode 100644 drivers/net/wireless/silabs/wfx/Kconfig
> > > create mode 100644 drivers/net/wireless/silabs/wfx/Makefile
> > >
> > > diff --git a/drivers/net/wireless/silabs/wfx/Kconfig b/drivers/net/wireless/silabs/wfx/Kconfig
> > > new file mode 100644
> > > index 000000000000..3be4b1e735e1
> > > --- /dev/null
> > > +++ b/drivers/net/wireless/silabs/wfx/Kconfig
> > > @@ -0,0 +1,12 @@
> > > +config WFX
> > > + tristate "Silicon Labs wireless chips WF200 and further"
> > > + depends on MAC80211
> > > + depends on MMC || !MMC # do not allow WFX=y if MMC=m
> > > + depends on (SPI || MMC)
> > > + help
> > > + This is a driver for Silicons Labs WFxxx series (WF200 and further)
> > > + chipsets. This chip can be found on SPI or SDIO buses.
> > > +
> > > + Silabs does not use a reliable SDIO vendor ID. So, to avoid conflicts,
> > > + the driver won't probe the device if it is not also declared in the
> > > + Device Tree.
> > > diff --git a/drivers/net/wireless/silabs/wfx/Makefile b/drivers/net/wireless/silabs/wfx/Makefile
> > > new file mode 100644
> > > index 000000000000..f399962c8619
> > > --- /dev/null
> > > +++ b/drivers/net/wireless/silabs/wfx/Makefile
> > > @@ -0,0 +1,26 @@
> > > +# SPDX-License-Identifier: GPL-2.0
> > > +
> > > +# Necessary for CREATE_TRACE_POINTS
> > > +CFLAGS_debug.o = -I$(src)
> >
> > I wonder if it is still relevant outside of the staging tree.
>
> It seems this pattern is common in the main tree. You suggest to relocate
> trace.h to include/trace/events?
No, leave it as it. Sorry for the noise.
Thanks
>
> --
> Jérôme Pouiller
>
>
Powered by blists - more mailing lists