Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532367

[PATCH v4 net-next 5/7] net: mvneta: Only disable mvneta_bm for 64-bits

From Gregory CLEMENT <gregory.clement@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v4 net-next 5/7] net: mvneta: Only disable mvneta_bm for 64-bits
Date 2016-11-29 16:00 +0100
Message-ID <sIS30-1lb-35@gated-at.bofh.it> (permalink)
References <sIS2Z-1lb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Actually only the mvneta_bm support is not 64-bits compatible.
The mvneta code itself can run on 64-bits architecture.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 drivers/net/ethernet/marvell/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index 66fd9dbb2ca7..2ccea9dd9248 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -44,6 +44,7 @@ config MVMDIO
 config MVNETA_BM_ENABLE
 	tristate "Marvell Armada 38x/XP network interface BM support"
 	depends on MVNETA
+	depends on !64BIT
 	---help---
 	  This driver supports auxiliary block of the network
 	  interface units in the Marvell ARMADA XP and ARMADA 38x SoC
@@ -58,7 +59,6 @@ config MVNETA
 	tristate "Marvell Armada 370/38x/XP network interface support"
 	depends on PLAT_ORION || COMPILE_TEST
 	depends on HAS_DMA
-	depends on !64BIT
 	select MVMDIO
 	select FIXED_PHY
 	---help---
@@ -71,6 +71,7 @@ config MVNETA
 
 config MVNETA_BM
 	tristate
+	depends on !64BIT
 	default y if MVNETA=y && MVNETA_BM_ENABLE!=n
 	default MVNETA_BM_ENABLE
 	select HWBM
-- 
git-series 0.8.10

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 net-next 0/7] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-29 16:00 +0100
  [PATCH v4 net-next 6/7] net: mvneta: Add network support for Armada 3700 SoC Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-29 16:00 +0100
  [PATCH v4 net-next 5/7] net: mvneta: Only disable mvneta_bm for 64-bits Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-29 16:00 +0100
  [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-29 16:00 +0100
    Re: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to  store the rx buffer virtual address David Miller <davem@davemloft.net> - 2016-11-30 20:00 +0100
      Re: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-30 22:30 +0100
  [PATCH v4 net-next 7/7] ARM64: dts: marvell: Add network support for Armada 3700 Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-29 16:00 +0100
  [PATCH v4 net-next 1/7] net: mvneta: Optimize rx path for small frame Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-11-29 16:00 +0100

csiph-web