162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig SFC_SIENA
362306a36Sopenharmony_ci	tristate "Solarflare SFC9000 support"
462306a36Sopenharmony_ci	depends on PCI
562306a36Sopenharmony_ci	depends on PTP_1588_CLOCK
662306a36Sopenharmony_ci	select MDIO
762306a36Sopenharmony_ci	select CRC32
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  This driver supports 10-gigabit Ethernet cards based on
1062306a36Sopenharmony_ci	  the Solarflare SFC9000 controller.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.  The module
1362306a36Sopenharmony_ci	  will be called sfc-siena.
1462306a36Sopenharmony_ciconfig SFC_SIENA_MTD
1562306a36Sopenharmony_ci	bool "Solarflare SFC9000-family MTD support"
1662306a36Sopenharmony_ci	depends on SFC_SIENA && MTD && !(SFC_SIENA=y && MTD=m)
1762306a36Sopenharmony_ci	default y
1862306a36Sopenharmony_ci	help
1962306a36Sopenharmony_ci	  This exposes the on-board flash and/or EEPROM as MTD devices
2062306a36Sopenharmony_ci	  (e.g. /dev/mtd1).  This is required to update the firmware or
2162306a36Sopenharmony_ci	  the boot configuration under Linux.
2262306a36Sopenharmony_ciconfig SFC_SIENA_MCDI_MON
2362306a36Sopenharmony_ci	bool "Solarflare SFC9000-family hwmon support"
2462306a36Sopenharmony_ci	depends on SFC_SIENA && HWMON && !(SFC_SIENA=y && HWMON=m)
2562306a36Sopenharmony_ci	default y
2662306a36Sopenharmony_ci	help
2762306a36Sopenharmony_ci	  This exposes the on-board firmware-managed sensors as a
2862306a36Sopenharmony_ci	  hardware monitor device.
2962306a36Sopenharmony_ciconfig SFC_SIENA_SRIOV
3062306a36Sopenharmony_ci	bool "Solarflare SFC9000-family SR-IOV support"
3162306a36Sopenharmony_ci	depends on SFC_SIENA && PCI_IOV
3262306a36Sopenharmony_ci	default n
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  This enables support for the Single Root I/O Virtualization
3562306a36Sopenharmony_ci	  features, allowing accelerated network performance in
3662306a36Sopenharmony_ci	  virtualized environments.
3762306a36Sopenharmony_ciconfig SFC_SIENA_MCDI_LOGGING
3862306a36Sopenharmony_ci	bool "Solarflare SFC9000-family MCDI logging support"
3962306a36Sopenharmony_ci	depends on SFC_SIENA
4062306a36Sopenharmony_ci	default y
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  This enables support for tracing of MCDI (Management-Controller-to-
4362306a36Sopenharmony_ci	  Driver-Interface) commands and responses, allowing debugging of
4462306a36Sopenharmony_ci	  driver/firmware interaction.  The tracing is actually enabled by
4562306a36Sopenharmony_ci	  a sysfs file 'mcdi_logging' under the PCI device, or via module
4662306a36Sopenharmony_ci	  parameter mcdi_logging_default.
47