netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"
@ 2020-02-21 14:46 Vladimir Oltean
  2020-02-21 15:34 ` Claudiu Manoil
  2020-02-21 16:18 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Vladimir Oltean @ 2020-02-21 14:46 UTC (permalink / raw)
  To: davem; +Cc: claudiu.manoil, netdev

From: Vladimir Oltean <vladimir.oltean@nxp.com>

ARCH_LAYERSCAPE isn't needed for this driver, it builds and
sends/receives traffic without this config option just fine.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 drivers/net/ethernet/freescale/enetc/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/freescale/enetc/Kconfig b/drivers/net/ethernet/freescale/enetc/Kconfig
index fe942de19597..f86283411f4d 100644
--- a/drivers/net/ethernet/freescale/enetc/Kconfig
+++ b/drivers/net/ethernet/freescale/enetc/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 config FSL_ENETC
 	tristate "ENETC PF driver"
-	depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
+	depends on PCI && PCI_MSI
 	select FSL_ENETC_MDIO
 	select PHYLIB
 	help
@@ -13,7 +13,7 @@ config FSL_ENETC
 
 config FSL_ENETC_VF
 	tristate "ENETC VF driver"
-	depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
+	depends on PCI && PCI_MSI
 	select PHYLIB
 	help
 	  This driver supports NXP ENETC gigabit ethernet controller PCIe
@@ -23,7 +23,7 @@ config FSL_ENETC_VF
 
 config FSL_ENETC_MDIO
 	tristate "ENETC MDIO driver"
-	depends on PCI && (ARCH_LAYERSCAPE || COMPILE_TEST)
+	depends on PCI
 	help
 	  This driver supports NXP ENETC Central MDIO controller as a PCIe
 	  physical function (PF) device.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"
  2020-02-21 14:46 [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)" Vladimir Oltean
@ 2020-02-21 15:34 ` Claudiu Manoil
  2020-02-21 16:18 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Claudiu Manoil @ 2020-02-21 15:34 UTC (permalink / raw)
  To: Vladimir Oltean, davem; +Cc: netdev

>-----Original Message-----
>From: Vladimir Oltean <olteanv@gmail.com>
>Sent: Friday, February 21, 2020 4:46 PM
>To: davem@davemloft.net
>Cc: Claudiu Manoil <claudiu.manoil@nxp.com>; netdev@vger.kernel.org
>Subject: [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE
>|| COMPILE_TEST)"
>
>From: Vladimir Oltean <vladimir.oltean@nxp.com>
>
>ARCH_LAYERSCAPE isn't needed for this driver, it builds and
>sends/receives traffic without this config option just fine.
>
>Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Acked-by: Claudiu Manoil <claudiu.manoil@nxp.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"
  2020-02-21 14:46 [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)" Vladimir Oltean
  2020-02-21 15:34 ` Claudiu Manoil
@ 2020-02-21 16:18 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-02-21 16:18 UTC (permalink / raw)
  To: olteanv; +Cc: claudiu.manoil, netdev

From: Vladimir Oltean <olteanv@gmail.com>
Date: Fri, 21 Feb 2020 16:46:24 +0200

> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> ARCH_LAYERSCAPE isn't needed for this driver, it builds and
> sends/receives traffic without this config option just fine.
> 
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-21 16:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 14:46 [PATCH net-next] enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)" Vladimir Oltean
2020-02-21 15:34 ` Claudiu Manoil
2020-02-21 16:18 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).