xref: /openbmc/linux/drivers/net/ethernet/sfc/Kconfig (revision ae99b639)
1ae99b639STobias Klauser#
2ae99b639STobias Klauser# Solarflare device configuration
3ae99b639STobias Klauser#
4ae99b639STobias Klauser
5ae99b639STobias Klauserconfig NET_VENDOR_SOLARFLARE
6ae99b639STobias Klauser	bool "Solarflare devices"
7ae99b639STobias Klauser	default y
8ae99b639STobias Klauser	---help---
9ae99b639STobias Klauser	  If you have a network (Ethernet) card belonging to this class, say Y.
10ae99b639STobias Klauser
11ae99b639STobias Klauser	  Note that the answer to this question doesn't directly affect the
12ae99b639STobias Klauser	  kernel: saying N will just cause the configurator to skip all
13ae99b639STobias Klauser	  the questions about Solarflare devices. If you say Y, you will be asked
14ae99b639STobias Klauser	  for your specific card in the following questions.
15ae99b639STobias Klauser
16ae99b639STobias Klauserif NET_VENDOR_SOLARFLARE
17ae99b639STobias Klauser
18874aeea5SJeff Kirsherconfig SFC
195a6681e2SEdward Cree	tristate "Solarflare SFC9000/SFC9100-family support"
20ff33c0e1SBen Hutchings	depends on PCI
21874aeea5SJeff Kirsher	select MDIO
22874aeea5SJeff Kirsher	select CRC32
23874aeea5SJeff Kirsher	select I2C
24874aeea5SJeff Kirsher	select I2C_ALGOBIT
25d1cbfd77SNicolas Pitre	imply PTP_1588_CLOCK
26874aeea5SJeff Kirsher	---help---
279a12a306SBen Hutchings	  This driver supports 10/40-gigabit Ethernet cards based on
285a6681e2SEdward Cree	  the Solarflare SFC9000-family and SFC9100-family controllers.
29874aeea5SJeff Kirsher
30874aeea5SJeff Kirsher	  To compile this driver as a module, choose M here.  The module
31874aeea5SJeff Kirsher	  will be called sfc.
32874aeea5SJeff Kirsherconfig SFC_MTD
335a6681e2SEdward Cree	bool "Solarflare SFC9000/SFC9100-family MTD support"
34874aeea5SJeff Kirsher	depends on SFC && MTD && !(SFC=y && MTD=m)
35874aeea5SJeff Kirsher	default y
36874aeea5SJeff Kirsher	---help---
3794813b86SBen Hutchings	  This exposes the on-board flash and/or EEPROM as MTD devices
3894813b86SBen Hutchings	  (e.g. /dev/mtd1).  This is required to update the firmware or
3994813b86SBen Hutchings	  the boot configuration under Linux.
4055c5e0f8SBen Hutchingsconfig SFC_MCDI_MON
418127d661SBen Hutchings	bool "Solarflare SFC9000/SFC9100-family hwmon support"
4255c5e0f8SBen Hutchings	depends on SFC && HWMON && !(SFC=y && HWMON=m)
4355c5e0f8SBen Hutchings	default y
44806b2139SPaul Bolle	---help---
4555c5e0f8SBen Hutchings	  This exposes the on-board firmware-managed sensors as a
4655c5e0f8SBen Hutchings	  hardware monitor device.
47cd2d5b52SBen Hutchingsconfig SFC_SRIOV
48cd2d5b52SBen Hutchings	bool "Solarflare SFC9000-family SR-IOV support"
49cd2d5b52SBen Hutchings	depends on SFC && PCI_IOV
50cd2d5b52SBen Hutchings	default y
51cd2d5b52SBen Hutchings	---help---
52cd2d5b52SBen Hutchings	  This enables support for the SFC9000 I/O Virtualization
53cd2d5b52SBen Hutchings	  features, allowing accelerated network performance in
54cd2d5b52SBen Hutchings	  virtualized environments.
5575aba2a5SEdward Creeconfig SFC_MCDI_LOGGING
5675aba2a5SEdward Cree	bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
5775aba2a5SEdward Cree	depends on SFC
5875aba2a5SEdward Cree	default y
5975aba2a5SEdward Cree	---help---
6075aba2a5SEdward Cree	  This enables support for tracing of MCDI (Management-Controller-to-
6175aba2a5SEdward Cree	  Driver-Interface) commands and responses, allowing debugging of
62e7fef9b4SEdward Cree	  driver/firmware interaction.  The tracing is actually enabled by
63e7fef9b4SEdward Cree	  a sysfs file 'mcdi_logging' under the PCI device.
64ae99b639STobias Klauser
65ae99b639STobias Klausersource "drivers/net/ethernet/sfc/falcon/Kconfig"
66ae99b639STobias Klauser
67ae99b639STobias Klauserendif # NET_VENDOR_SOLARFLARE
68