2021-02-02 23:22:33

by Gustavo Pimentel

[permalink] [raw]
Subject: [RESEND PATCH v3 3/5] misc: Add Synopsys DesignWare xData IP driver to Kconfig

Add Synopsys DesignWare xData IP driver to Kconfig.

This driver enables/disables the PCIe traffic generator module
pertain to the Synopsys DesignWare prototype.

Signed-off-by: Gustavo Pimentel <[email protected]>
---
drivers/misc/Kconfig | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index fafa8b0..6d5783f 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -423,6 +423,17 @@ config SRAM
config SRAM_EXEC
bool

+config DW_XDATA_PCIE
+ depends on PCI
+ tristate "Synopsys DesignWare xData PCIe driver"
+ default n
+ help
+ This driver allows controlling Synopsys DesignWare PCIe traffic
+ generator IP also known as xData, present in Synopsys Designware
+ PCIe Endpoint prototype.
+
+ If unsure, say N.
+
config PCI_ENDPOINT_TEST
depends on PCI
select CRC32
--
2.7.4


2021-02-08 07:36:45

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [RESEND PATCH v3 3/5] misc: Add Synopsys DesignWare xData IP driver to Kconfig

On Tue, Feb 02, 2021 at 05:56:36PM +0100, Gustavo Pimentel wrote:
> Add Synopsys DesignWare xData IP driver to Kconfig.
>
> This driver enables/disables the PCIe traffic generator module
> pertain to the Synopsys DesignWare prototype.
>
> Signed-off-by: Gustavo Pimentel <[email protected]>
> ---
> drivers/misc/Kconfig | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index fafa8b0..6d5783f 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -423,6 +423,17 @@ config SRAM
> config SRAM_EXEC
> bool
>
> +config DW_XDATA_PCIE
> + depends on PCI
> + tristate "Synopsys DesignWare xData PCIe driver"
> + default n

"N" is a default option and not needed to be stated explicitly.

Thanks

2021-02-08 09:25:20

by Gustavo Pimentel

[permalink] [raw]
Subject: RE: [RESEND PATCH v3 3/5] misc: Add Synopsys DesignWare xData IP driver to Kconfig

On Mon, Feb 8, 2021 at 7:34:8, Leon Romanovsky <[email protected]> wrote:

> On Tue, Feb 02, 2021 at 05:56:36PM +0100, Gustavo Pimentel wrote:
> > Add Synopsys DesignWare xData IP driver to Kconfig.
> >
> > This driver enables/disables the PCIe traffic generator module
> > pertain to the Synopsys DesignWare prototype.
> >
> > Signed-off-by: Gustavo Pimentel <[email protected]>
> > ---
> > drivers/misc/Kconfig | 11 +++++++++++
> > 1 file changed, 11 insertions(+)
> >
> > diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> > index fafa8b0..6d5783f 100644
> > --- a/drivers/misc/Kconfig
> > +++ b/drivers/misc/Kconfig
> > @@ -423,6 +423,17 @@ config SRAM
> > config SRAM_EXEC
> > bool
> >
> > +config DW_XDATA_PCIE
> > + depends on PCI
> > + tristate "Synopsys DesignWare xData PCIe driver"
> > + default n
>
> "N" is a default option and not needed to be stated explicitly.

Ok, I will remove it.
Thanks.

>
> Thanks