blob: 4dd92b7b80f41d2e2c0591f9d3930a24ed6325be [file] [log] [blame]
Ben Hutchings8ceee662008-04-27 12:55:59 +01001config SFC
Ben Hutchings8127d662013-08-29 19:19:29 +01002 tristate "Solarflare SFC4000/SFC9000/SFC9100-family support"
Ben Hutchingsff33c0e2012-11-16 12:47:39 +00003 depends on PCI
Ben Hutchings68e7f452009-04-29 08:05:08 +00004 select MDIO
Ben Hutchings8ceee662008-04-27 12:55:59 +01005 select CRC32
Ben Hutchings37b5a602008-05-30 22:27:04 +01006 select I2C
7 select I2C_ALGOBIT
Ben Hutchings3ba368c2012-11-01 11:22:22 +00008 select PTP_1588_CLOCK
Jeff Kirsher874aeea2011-05-13 00:17:42 -07009 ---help---
Ben Hutchings9a12a302013-09-05 17:53:57 +010010 This driver supports 10/40-gigabit Ethernet cards based on
Ben Hutchings8127d662013-08-29 19:19:29 +010011 the Solarflare SFC4000, SFC9000-family and SFC9100-family
12 controllers.
Ben Hutchings8ceee662008-04-27 12:55:59 +010013
14 To compile this driver as a module, choose M here. The module
15 will be called sfc.
Ben Hutchingsf4150722008-11-04 20:34:28 +000016config SFC_MTD
Ben Hutchings8127d662013-08-29 19:19:29 +010017 bool "Solarflare SFC4000/SFC9000/SFC9100-family MTD support"
Ben Hutchings87611692008-11-20 04:17:42 -080018 depends on SFC && MTD && !(SFC=y && MTD=m)
Ben Hutchingsf4150722008-11-04 20:34:28 +000019 default y
Jeff Kirsher874aeea2011-05-13 00:17:42 -070020 ---help---
Ben Hutchings94813b82012-01-06 22:47:17 +000021 This exposes the on-board flash and/or EEPROM as MTD devices
22 (e.g. /dev/mtd1). This is required to update the firmware or
23 the boot configuration under Linux.
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000024config SFC_MCDI_MON
Ben Hutchings8127d662013-08-29 19:19:29 +010025 bool "Solarflare SFC9000/SFC9100-family hwmon support"
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000026 depends on SFC && HWMON && !(SFC=y && HWMON=m)
27 default y
Paul Bolle806b2132013-03-15 12:59:30 +010028 ---help---
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000029 This exposes the on-board firmware-managed sensors as a
30 hardware monitor device.
Ben Hutchingscd2d5b52012-02-14 00:48:07 +000031config SFC_SRIOV
32 bool "Solarflare SFC9000-family SR-IOV support"
33 depends on SFC && PCI_IOV
34 default y
35 ---help---
36 This enables support for the SFC9000 I/O Virtualization
37 features, allowing accelerated network performance in
38 virtualized environments.
Edward Cree75aba2a2015-05-27 13:13:54 +010039config SFC_MCDI_LOGGING
40 bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
41 depends on SFC
42 default y
43 ---help---
44 This enables support for tracing of MCDI (Management-Controller-to-
45 Driver-Interface) commands and responses, allowing debugging of
Edward Creee7fef9b2015-05-27 13:14:01 +010046 driver/firmware interaction. The tracing is actually enabled by
47 a sysfs file 'mcdi_logging' under the PCI device.