net: mvneta: Only disable mvneta_bm for 64-bits

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>
Tested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Gregory CLEMENT
2016-12-01 18:03:08 +01:00
committed by David S. Miller
parent 8d5047cf9c
commit f34dacccb4

View File

@@ -44,6 +44,7 @@ config MVMDIO
config MVNETA_BM_ENABLE config MVNETA_BM_ENABLE
tristate "Marvell Armada 38x/XP network interface BM support" tristate "Marvell Armada 38x/XP network interface BM support"
depends on MVNETA depends on MVNETA
depends on !64BIT
---help--- ---help---
This driver supports auxiliary block of the network This driver supports auxiliary block of the network
interface units in the Marvell ARMADA XP and ARMADA 38x SoC 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" tristate "Marvell Armada 370/38x/XP network interface support"
depends on PLAT_ORION || COMPILE_TEST depends on PLAT_ORION || COMPILE_TEST
depends on HAS_DMA depends on HAS_DMA
depends on !64BIT
select MVMDIO select MVMDIO
select FIXED_PHY select FIXED_PHY
---help--- ---help---
@@ -71,6 +71,7 @@ config MVNETA
config MVNETA_BM config MVNETA_BM
tristate tristate
depends on !64BIT
default y if MVNETA=y && MVNETA_BM_ENABLE!=n default y if MVNETA=y && MVNETA_BM_ENABLE!=n
default MVNETA_BM_ENABLE default MVNETA_BM_ENABLE
select HWBM select HWBM