# SPDX-License-Identifier: GPL-2.0-only
#
# Marvell device configuration
#
config [31mCONFIG_NET_VENDOR_MARVELL[0m
bool "Marvell devices"
default y
depends on [31mCONFIG_PCI[0m || [31mCONFIG_CPU_PXA168[0m || [31mCONFIG_MV64X60[0m || [31mCONFIG_PPC32[0m || [31mCONFIG_PLAT_ORION[0m || [31mCONFIG_INET[0m || [31mCONFIG_COMPILE_TEST[0m
---help---
If you have a network (Ethernet) card belonging to this class, say Y.
Note that the answer to this question doesn't directly affect the
kernel: saying N will just cause the configurator to skip all
the questions about Marvell devices. If you say Y, you will be
asked for your specific card in the following questions.
if [31mCONFIG_NET_VENDOR_MARVELL[0m
config [31mCONFIG_MV643XX_ETH[0m
tristate "Marvell Discovery (643XX) and Orion ethernet support"
depends on [31mCONFIG_MV64X60[0m || [31mCONFIG_PPC32[0m || [31mCONFIG_PLAT_ORION[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_INET[0m
select [31mCONFIG_PHYLIB[0m
select [31mCONFIG_MVMDIO[0m
---help---
This driver supports the gigabit ethernet MACs in the
Marvell Discovery [31mCONFIG_PPC[0m/[31mCONFIG_MIPS[0m chipset family (MV643XX) and
in the Marvell Orion [31mCONFIG_ARM[0m SoC family.
Some boards that use the Discovery chipset are the Momenco
Ocelot [31mCONFIG_C[0m and Jaguar ATX and Pegasos II.
config [31mCONFIG_MVMDIO[0m
tristate "Marvell MDIO interface support"
depends on [31mCONFIG_HAS_IOMEM[0m
select [31mCONFIG_PHYLIB[0m
---help---
This driver supports the [31mCONFIG_MDIO[0m interface found in the network
interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
Dove, Armada 370 and Armada XP).
This driver is used by the [31mCONFIG_MV643XX_ETH[0m and [31mCONFIG_MVNETA[0m drivers.
config [31mCONFIG_MVNETA_BM_ENABLE[0m
tristate "Marvell Armada 38x/XP network interface BM support"
depends on [31mCONFIG_MVNETA[0m
depends on ![31mCONFIG_64BIT[0m
---help---
This driver supports auxiliary block of the network
interface units in the Marvell ARMADA XP and ARMADA 38x SoC
family, which is called buffer manager.
This driver, when enabled, strictly cooperates with mvneta
driver and is common for all network ports of the devices,
even for Armada 370 SoC, which doesn't support hardware
buffer management.
config [31mCONFIG_MVNETA[0m
tristate "Marvell Armada 370/38x/XP/37xx network interface support"
depends on [31mCONFIG_ARCH_MVEBU[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_MVMDIO[0m
select [31mCONFIG_PHYLINK[0m
---help---
This driver supports the network interface units in the
Marvell ARMADA XP, ARMADA 370, ARMADA 38x and
ARMADA 37xx SoC family.
Note that this driver is distinct from the mv643xx_eth
driver, which should be used for the older Marvell SoCs
(Dove, Orion, Discovery, Kirkwood).
config [31mCONFIG_MVNETA_BM[0m
tristate
depends on ![31mCONFIG_64BIT[0m
default y if [31mCONFIG_MVNETA[0m=y && [31mCONFIG_MVNETA_BM_ENABLE[0m!=n
default [31mCONFIG_MVNETA_BM_ENABLE[0m
select [31mCONFIG_HWBM[0m
select [31mCONFIG_GENERIC_ALLOCATOR[0m
help
[31mCONFIG_MVNETA_BM[0m must not be 'm' if [31mCONFIG_MVNETA[0m=y, so this symbol ensures
that all dependencies are met.
config [31mCONFIG_MVPP2[0m
tristate "Marvell Armada 375/7K/8K network interface support"
depends on [31mCONFIG_ARCH_MVEBU[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_MVMDIO[0m
select [31mCONFIG_PHYLINK[0m
---help---
This driver supports the network interface units in the
Marvell ARMADA 375, 7K and 8K SoCs.
config [31mCONFIG_PXA168_ETH[0m
tristate "Marvell pxa168 ethernet support"
depends on [31mCONFIG_HAS_IOMEM[0m
depends on [31mCONFIG_CPU_PXA168[0m || [31mCONFIG_ARCH_BERLIN[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_PHYLIB[0m
---help---
This driver supports the pxa168 Ethernet ports.
To compile this driver as a module, choose [31mCONFIG_M[0m here. The module
will be called pxa168_eth.
config [31mCONFIG_SKGE[0m
tristate "Marvell Yukon Gigabit Ethernet support"
depends on [31mCONFIG_PCI[0m
select [31mCONFIG_CRC32[0m
---help---
This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
and related Gigabit Ethernet adapters. It is a new smaller driver
with better performance and more complete ethtool support.
It does not support the link failover and network management
features that "portable" vendor supplied sk98lin driver does.
This driver supports adapters based on the original Yukon chipset:
Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
It does not support the newer Yukon2 chipset: a separate driver,
sky2, is provided for these adapters.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called skge. This is recommended.
config [31mCONFIG_SKGE_DEBUG[0m
bool "Debugging interface"
depends on [31mCONFIG_SKGE[0m && [31mCONFIG_DEBUG_FS[0m
---help---
This option adds the ability to dump driver state for debugging.
The file /sys/kernel/debug/skge/ethX displays the state of the internal
transmit and receive rings.
If unsure, say N.
config [31mCONFIG_SKGE_GENESIS[0m
bool "Support for older SysKonnect Genesis boards"
depends on [31mCONFIG_SKGE[0m
---help---
This enables support for the older and uncommon SysKonnect Genesis
chips, which support [31mCONFIG_MII[0m via an external transceiver, instead of
an internal one. Disabling this option will save some memory
by making code smaller. If unsure say Y.
config [31mCONFIG_SKY2[0m
tristate "Marvell Yukon 2 support"
depends on [31mCONFIG_PCI[0m
select [31mCONFIG_CRC32[0m
---help---
This driver supports Gigabit Ethernet adapters based on the
Marvell Yukon 2 chipset:
Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
There is companion driver for the older Marvell Yukon and
SysKonnect Genesis based adapters: skge.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called sky2. This is recommended.
config [31mCONFIG_SKY2_DEBUG[0m
bool "Debugging interface"
depends on [31mCONFIG_SKY2[0m && [31mCONFIG_DEBUG_FS[0m
---help---
This option adds the ability to dump driver state for debugging.
The file /sys/kernel/debug/sky2/ethX displays the state of the internal
transmit and receive rings.
If unsure, say N.
source "drivers/net/ethernet/marvell/octeontx2/Kconfig"
endif # [31mCONFIG_NET_VENDOR_MARVELL[0m