xref: /openbmc/linux/drivers/net/ethernet/sfc/Kconfig (revision ba61bb17)
1#
2# Solarflare device configuration
3#
4
5config NET_VENDOR_SOLARFLARE
6	bool "Solarflare devices"
7	default y
8	---help---
9	  If you have a network (Ethernet) card belonging to this class, say Y.
10
11	  Note that the answer to this question doesn't directly affect the
12	  kernel: saying N will just cause the configurator to skip all
13	  the questions about Solarflare devices. If you say Y, you will be asked
14	  for your specific card in the following questions.
15
16if NET_VENDOR_SOLARFLARE
17
18config SFC
19	tristate "Solarflare SFC9000/SFC9100-family support"
20	depends on PCI
21	select MDIO
22	select CRC32
23	select I2C
24	select I2C_ALGOBIT
25	imply PTP_1588_CLOCK
26	---help---
27	  This driver supports 10/40-gigabit Ethernet cards based on
28	  the Solarflare SFC9000-family and SFC9100-family controllers.
29
30	  To compile this driver as a module, choose M here.  The module
31	  will be called sfc.
32config SFC_MTD
33	bool "Solarflare SFC9000/SFC9100-family MTD support"
34	depends on SFC && MTD && !(SFC=y && MTD=m)
35	default y
36	---help---
37	  This exposes the on-board flash and/or EEPROM as MTD devices
38	  (e.g. /dev/mtd1).  This is required to update the firmware or
39	  the boot configuration under Linux.
40config SFC_MCDI_MON
41	bool "Solarflare SFC9000/SFC9100-family hwmon support"
42	depends on SFC && HWMON && !(SFC=y && HWMON=m)
43	default y
44	---help---
45	  This exposes the on-board firmware-managed sensors as a
46	  hardware monitor device.
47config SFC_SRIOV
48	bool "Solarflare SFC9000-family SR-IOV support"
49	depends on SFC && PCI_IOV
50	default y
51	---help---
52	  This enables support for the SFC9000 I/O Virtualization
53	  features, allowing accelerated network performance in
54	  virtualized environments.
55config SFC_MCDI_LOGGING
56	bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
57	depends on SFC
58	default y
59	---help---
60	  This enables support for tracing of MCDI (Management-Controller-to-
61	  Driver-Interface) commands and responses, allowing debugging of
62	  driver/firmware interaction.  The tracing is actually enabled by
63	  a sysfs file 'mcdi_logging' under the PCI device.
64
65source "drivers/net/ethernet/sfc/falcon/Kconfig"
66
67endif # NET_VENDOR_SOLARFLARE
68