# SPDX-License-Identifier: GPL-2.0
#
# Siflower network device configuration
#

config NET_VENDOR_SIFLOWER
	bool "Siflower Ethernet"
	default y
	depends on ARCH_SIFLOWER

if NET_VENDOR_SIFLOWER

config NET_SIFLOWER_ETH_DPNS
	tristate "Siflower DPNS driver"
	help
	  Support the Dataplane network subsystem of SiFlower SF21A6826/SF21H8898 SoC.

config NET_SIFLOWER_ETH_XGMAC
	tristate "Siflower Ethernet MAC driver"
	depends on NET_SIFLOWER_ETH_DPNS
	select MII
	select PAGE_POOL
	select PHYLINK
	select NET_SIFLOWER_ETH_DMA
        select NET_SIFLOWER_ETH_XPCS
	help
	  Support the Ethernet controller of SiFlower SF21A6826/SF21H8898 SoC.

config NET_SIFLOWER_ETH_DMA
	tristate "Siflower Ethernet DMA driver"
	depends on NET_SIFLOWER_ETH_DPNS
	select PAGE_POOL
	help
	  Support the Ethernet controller of SiFlower SF21A6826/SF21H8898 SoC.

config NET_SIFLOWER_ETH_XPCS
	tristate "Siflower Ethernet XPCS driver"
	depends on NET_SIFLOWER_ETH_DPNS
	select PAGE_POOL
	help
	  Support the PCS block of SiFlower SF21A6826/SF21H8898 SoC.

if NET_SIFLOWER_ETH_DMA

config NET_SIFLOWER_ETH_USE_INTERNAL_SRAM
	bool "Use internal SRAM for DMA descriptors"
	select SRAM
	help
	  Use internal SRAM instead of system memory for DMA descriptors.

endif # NET_SIFLOWER_ETH_DMA

endif # NET_VENDOR_SIFLOWER
