netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ethernet: remove unneeded dependency of mvneta and update help text
@ 2014-02-18 10:29 Thomas Petazzoni
  2014-02-18 12:29 ` Jason Cooper
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2014-02-18 10:29 UTC (permalink / raw)
  To: David S. Miller, netdev
  Cc: Jason Cooper, Gregory Clement, Andrew Lunn, Sebastian Hesselbarth,
	Ezequiel Garcia, linux-arm-kernel

With the introduction of the support for Armada 375 and Armada 38x,
the hidden Kconfig option MACH_ARMADA_370_XP is being renamed to
MACH_MVEBU_V7. Therefore, the dependency that was used for the mvneta
driver can no longer work.

However, such a dependency is not really necessary: there is no point
in preventing this driver from being built in other situations, just
like the mv643xx_eth driver. As a consequence, this commit removes the
unnecessary Kconfig dependency.

In addition to this, it takes this opportunity to adjust the
description and help text to indicate that the driver can is also used
for Armada 38x. Note that Armada 375 cannot use this driver as it has
a completely different networking unit, which will require a separate
driver.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 drivers/net/ethernet/marvell/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index 6300fd2..97b91f7 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -43,12 +43,11 @@ config MVMDIO
 	  This driver is used by the MV643XX_ETH and MVNETA drivers.
 
 config MVNETA
-	tristate "Marvell Armada 370/XP network interface support"
-	depends on MACH_ARMADA_370_XP
+	tristate "Marvell Armada 370/38x/XP network interface support"
 	select MVMDIO
 	---help---
 	  This driver supports the network interface units in the
-	  Marvell ARMADA XP and ARMADA 370 SoC family.
+	  Marvell ARMADA XP, ARMADA 370 and Armada 38x SoC family.
 
 	  Note that this driver is distinct from the mv643xx_eth
 	  driver, which should be used for the older Marvell SoCs
-- 
1.8.3.2

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

end of thread, other threads:[~2014-02-19  8:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 10:29 [PATCH] net: ethernet: remove unneeded dependency of mvneta and update help text Thomas Petazzoni
2014-02-18 12:29 ` Jason Cooper
2014-02-18 12:45   ` Thomas Petazzoni
2014-02-18 12:52     ` Jason Cooper
2014-02-18 13:13       ` Thomas Petazzoni
2014-02-18 13:58         ` Andrew Lunn
2014-02-18 14:10           ` Thomas Petazzoni
2014-02-18 15:45             ` Ezequiel Garcia
2014-02-18 15:51               ` Thomas Petazzoni
2014-02-18 17:23                 ` Ezequiel Garcia
2014-02-19  2:10         ` Jisheng Zhang
2014-02-19  8:08           ` Thomas Petazzoni

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).