#
# Marvell SoC network devices
#

config NET_VENDOR_MVEBU
	bool "Marvell SoC network devices"
	default y
	depends on ARCH_MVEBU
	---help---
	  If you have a network (Ethernet) card belonging to this class, say Y
	  and read the Ethernet-HOWTO, available from
	  <http://www.tldp.org/docs.html#howto>.

if NET_VENDOR_MVEBU

menu "Marvell Network SKB Features"

config  NET_SKB_HEADROOM
	int "SKB headroom size"
	default 64
	---help---
	Customize SKB headroom size. Must be power of 2.

config NET_SKB_RECYCLE
	bool "Skb recycle"
	default y
	---help---
	Work-in-progress and experimental.

	This option enables skb's to be returned via a callback at kfree to
	the allocator to make a fastpath for very skb consuming network
	applications.

config NET_SKB_RECYCLE_DEF
	depends on NET_SKB_RECYCLE
	int "Default value for SKB recycle:  0 - disable, 1 - enable"
	default 1
	---help---

endmenu

menu "Marvell Network PON Support"

config MV_INCLUDE_PON
	bool "PON include"
	default n
	---help---
	Whether PON is included.

endmenu

menu "Marvell Network Debug Control"

config MV_ETH_DEBUG_CODE
	bool "Add run-time debug code"
	default n
	---help---
	Enable run-time enable/disable enter debug code blocks

endmenu

config MV_ETH_NETA
	tristate "Marvell Armada 380 network interface support"
	depends on MACH_ARMADA_380
	---help---
	  This driver supports the network interface units in the
	  Marvell ARMADA 38x SoC family.

if MV_ETH_NETA
source drivers/net/ethernet/mvebu_net/neta/Kconfig
endif

config MV_ETH_PP2
	tristate "Marvell Armada 375 network interface support"
	depends on MACH_ARMADA_375
	---help---
	  This driver supports the network interface units in the
	  Marvell ARMADA 375 SoC family.

if MV_ETH_PP2
source drivers/net/ethernet/mvebu_net/pp2/Kconfig
endif

config MV_ETH_INCLUDE_PHY
	bool "Choose to compile Ethernet PHY support"
	depends on MV_ETH_NETA || MV_ETH_PP2
	default y
	---help---
	Use Marvell propriotary PHY driver for access PHY registers.
	All kind of Marvell network drivers need it.
	Driver provides APIs for reset PHY, restart autonegotiation and
	change autonegotiation parameters of the PHY.
	The driver located uner directory mvebu_net/phy

config MV_ETH_INCLUDE_NETMUX
	bool "Choose to compile Marvell NetMux support"
	depends on MV_ETH_NETA || MV_ETH_PP2
	default y
	---help---
	Use Marvell propriotary NETMUX driver for Virtual Networking interfaces support.
	The driver located uner directory mvebu_net/netmux

endif # NET_VENDOR_MVEBU
