xref: /openbmc/linux/drivers/net/ethernet/sfc/Kconfig (revision d1cbfd77)
1874aeea5SJeff Kirsherconfig SFC
28127d661SBen Hutchings	tristate "Solarflare SFC4000/SFC9000/SFC9100-family support"
3ff33c0e1SBen Hutchings	depends on PCI
4874aeea5SJeff Kirsher	select MDIO
5874aeea5SJeff Kirsher	select CRC32
6874aeea5SJeff Kirsher	select I2C
7874aeea5SJeff Kirsher	select I2C_ALGOBIT
8d1cbfd77SNicolas Pitre	imply PTP_1588_CLOCK
9874aeea5SJeff Kirsher	---help---
109a12a306SBen Hutchings	  This driver supports 10/40-gigabit Ethernet cards based on
118127d661SBen Hutchings	  the Solarflare SFC4000, SFC9000-family and SFC9100-family
128127d661SBen Hutchings	  controllers.
13874aeea5SJeff Kirsher
14874aeea5SJeff Kirsher	  To compile this driver as a module, choose M here.  The module
15874aeea5SJeff Kirsher	  will be called sfc.
16874aeea5SJeff Kirsherconfig SFC_MTD
178127d661SBen Hutchings	bool "Solarflare SFC4000/SFC9000/SFC9100-family MTD support"
18874aeea5SJeff Kirsher	depends on SFC && MTD && !(SFC=y && MTD=m)
19874aeea5SJeff Kirsher	default y
20874aeea5SJeff Kirsher	---help---
2194813b86SBen Hutchings	  This exposes the on-board flash and/or EEPROM as MTD devices
2294813b86SBen Hutchings	  (e.g. /dev/mtd1).  This is required to update the firmware or
2394813b86SBen Hutchings	  the boot configuration under Linux.
2455c5e0f8SBen Hutchingsconfig SFC_MCDI_MON
258127d661SBen Hutchings	bool "Solarflare SFC9000/SFC9100-family hwmon support"
2655c5e0f8SBen Hutchings	depends on SFC && HWMON && !(SFC=y && HWMON=m)
2755c5e0f8SBen Hutchings	default y
28806b2139SPaul Bolle	---help---
2955c5e0f8SBen Hutchings	  This exposes the on-board firmware-managed sensors as a
3055c5e0f8SBen Hutchings	  hardware monitor device.
31cd2d5b52SBen Hutchingsconfig SFC_SRIOV
32cd2d5b52SBen Hutchings	bool "Solarflare SFC9000-family SR-IOV support"
33cd2d5b52SBen Hutchings	depends on SFC && PCI_IOV
34cd2d5b52SBen Hutchings	default y
35cd2d5b52SBen Hutchings	---help---
36cd2d5b52SBen Hutchings	  This enables support for the SFC9000 I/O Virtualization
37cd2d5b52SBen Hutchings	  features, allowing accelerated network performance in
38cd2d5b52SBen Hutchings	  virtualized environments.
3975aba2a5SEdward Creeconfig SFC_MCDI_LOGGING
4075aba2a5SEdward Cree	bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
4175aba2a5SEdward Cree	depends on SFC
4275aba2a5SEdward Cree	default y
4375aba2a5SEdward Cree	---help---
4475aba2a5SEdward Cree	  This enables support for tracing of MCDI (Management-Controller-to-
4575aba2a5SEdward Cree	  Driver-Interface) commands and responses, allowing debugging of
46e7fef9b4SEdward Cree	  driver/firmware interaction.  The tracing is actually enabled by
47e7fef9b4SEdward Cree	  a sysfs file 'mcdi_logging' under the PCI device.
48