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


Groups > linux.kernel > #1367205

[PATCH] net: mvneta: explicitly disable BM on 64bit platform

From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH] net: mvneta: explicitly disable BM on 64bit platform
Date 2016-03-30 15:30 +0200
Message-ID <riom7-60u-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The mvneta BM can't work on 64bit platform, as the BM hardware expects
buf virtual address to be placed in the first four bytes of mapped
buffer, but obviously the virtual address on 64bit platform can't be
stored in 4 bytes. So we have to explicitly disable BM on 64bit
platform.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
 drivers/net/ethernet/marvell/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index b5c6d42..53d6572 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -42,7 +42,7 @@ config MVMDIO
 
 config MVNETA_BM_ENABLE
 	tristate "Marvell Armada 38x/XP network interface BM support"
-	depends on MVNETA
+	depends on MVNETA && !64BIT
 	---help---
 	  This driver supports auxiliary block of the network
 	  interface units in the Marvell ARMADA XP and ARMADA 38x SoC
-- 
2.8.0.rc3

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


Thread

[PATCH] net: mvneta: explicitly disable BM on 64bit platform Jisheng Zhang <jszhang@marvell.com> - 2016-03-30 15:30 +0200
  Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-03-30 17:20 +0200
    Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform Jisheng Zhang <jszhang@marvell.com> - 2016-03-31 08:00 +0200
      Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform Marcin Wojtas <mw@semihalf.com> - 2016-03-31 08:50 +0200
        Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform Jisheng Zhang <jszhang@marvell.com> - 2016-03-31 10:20 +0200

csiph-web