* [PATCH v2] net: ethernet: update dependency and help text of mvneta
@ 2014-02-18 13:18 Thomas Petazzoni
2014-02-18 14:06 ` Jason Cooper
2014-02-18 23:09 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-02-18 13:18 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. This commit replaces this dependency by a
dependency on PLAT_ORION, which is used similarly for the mv643xx_eth
driver.
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>
---
Changes since v1:
- Instead of removing the Kconfig dependency, replace it by a
dependency on PLAT_ORION, in order to avoid building mvneta on too
many architectures and getting weird build issues. Suggested by
Jason Cooper.
- Fix capitalization in the Kconfig help text.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
drivers/net/ethernet/marvell/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index 6300fd2..68e6a66 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -43,12 +43,12 @@ 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"
+ depends on PLAT_ORION
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] 3+ messages in thread
* Re: [PATCH v2] net: ethernet: update dependency and help text of mvneta
2014-02-18 13:18 [PATCH v2] net: ethernet: update dependency and help text of mvneta Thomas Petazzoni
@ 2014-02-18 14:06 ` Jason Cooper
2014-02-18 23:09 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Jason Cooper @ 2014-02-18 14:06 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: David S. Miller, netdev, Gregory Clement, Andrew Lunn,
Sebastian Hesselbarth, Ezequiel Garcia, linux-arm-kernel
On Tue, Feb 18, 2014 at 02:18:11PM +0100, Thomas Petazzoni wrote:
> 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. This commit replaces this dependency by a
> dependency on PLAT_ORION, which is used similarly for the mv643xx_eth
> driver.
>
> 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>
> ---
> Changes since v1:
> - Instead of removing the Kconfig dependency, replace it by a
> dependency on PLAT_ORION, in order to avoid building mvneta on too
> many architectures and getting weird build issues. Suggested by
> Jason Cooper.
> - Fix capitalization in the Kconfig help text.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> drivers/net/ethernet/marvell/Kconfig | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] net: ethernet: update dependency and help text of mvneta
2014-02-18 13:18 [PATCH v2] net: ethernet: update dependency and help text of mvneta Thomas Petazzoni
2014-02-18 14:06 ` Jason Cooper
@ 2014-02-18 23:09 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2014-02-18 23:09 UTC (permalink / raw)
To: thomas.petazzoni
Cc: netdev, jason, gregory.clement, andrew, sebastian.hesselbarth,
ezequiel.garcia, linux-arm-kernel
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Tue, 18 Feb 2014 14:18:11 +0100
> 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. This commit replaces this dependency by a
> dependency on PLAT_ORION, which is used similarly for the mv643xx_eth
> driver.
>
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-18 23:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 13:18 [PATCH v2] net: ethernet: update dependency and help text of mvneta Thomas Petazzoni
2014-02-18 14:06 ` Jason Cooper
2014-02-18 23:09 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox