# SPDX-License-Identifier: GPL-2.0-only
#
# Phytium device configuration
#

config NET_VENDOR_PHYTIUM
	bool "Phytium devices"
	depends on HAS_IOMEM
	default y
	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
		remaining Phytium network card questions. If you say Y, you will be
		asked for your specific card in the following questions.

if NET_VENDOR_PHYTIUM

config PHYTMAC
	tristate "Phytium GMAC support"
	depends on HAS_DMA
	select PHYLINK
	select CRC32
	help
		If you have a network (Ethernet) controller of this type, say Y
		or M here.

		To compile this driver as a module, choose M here: the module
		will be phytmac.

config PHYTMAC_ENABLE_PTP
	bool "Enable IEEE 1588 hwstamp"
	depends on PHYTMAC
	depends on PTP_1588_CLOCK
	default y
	help
		Enable IEEE 1588 PTP support for PHYTMAC.

config PHYTMAC_PLATFORM
	tristate "Phytmac Platform support"
	depends on PHYTMAC
	help
		This is Platform driver.

		To compile this driver as a module, choose M here: the module
		will be called phytmac_platform.

config PHYTMAC_PCI
	tristate "Phytmac PCI support"
	depends on PHYTMAC && PCI
	help
		This is PCI driver.

		To compile this driver as a module, choose M here: the module
		will be called phytmac_pci.

endif # NET_VENDOR_PHYTIUM
