blob: 46f7be85f5a387ce96be02c66af18b21750b7210 [file] [log] [blame]
Ben Hutchings8ceee662008-04-27 12:55:59 +01001config SFC
Edward Cree5a6681e2016-11-28 18:55:34 +00002 tristate "Solarflare 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
Nicolas Pitred1cbfd72016-11-11 00:10:07 -05008 imply 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
Edward Cree5a6681e2016-11-28 18:55:34 +000011 the Solarflare SFC9000-family and SFC9100-family controllers.
Ben Hutchings8ceee662008-04-27 12:55:59 +010012
13 To compile this driver as a module, choose M here. The module
14 will be called sfc.
Ben Hutchingsf4150722008-11-04 20:34:28 +000015config SFC_MTD
Edward Cree5a6681e2016-11-28 18:55:34 +000016 bool "Solarflare SFC9000/SFC9100-family MTD support"
Ben Hutchings87611692008-11-20 04:17:42 -080017 depends on SFC && MTD && !(SFC=y && MTD=m)
Ben Hutchingsf4150722008-11-04 20:34:28 +000018 default y
Jeff Kirsher874aeea2011-05-13 00:17:42 -070019 ---help---
Ben Hutchings94813b82012-01-06 22:47:17 +000020 This exposes the on-board flash and/or EEPROM as MTD devices
21 (e.g. /dev/mtd1). This is required to update the firmware or
22 the boot configuration under Linux.
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000023config SFC_MCDI_MON
Ben Hutchings8127d662013-08-29 19:19:29 +010024 bool "Solarflare SFC9000/SFC9100-family hwmon support"
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000025 depends on SFC && HWMON && !(SFC=y && HWMON=m)
26 default y
Paul Bolle806b2132013-03-15 12:59:30 +010027 ---help---
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000028 This exposes the on-board firmware-managed sensors as a
29 hardware monitor device.
Ben Hutchingscd2d5b52012-02-14 00:48:07 +000030config SFC_SRIOV
31 bool "Solarflare SFC9000-family SR-IOV support"
32 depends on SFC && PCI_IOV
33 default y
34 ---help---
35 This enables support for the SFC9000 I/O Virtualization
36 features, allowing accelerated network performance in
37 virtualized environments.
Edward Cree75aba2a2015-05-27 13:13:54 +010038config SFC_MCDI_LOGGING
39 bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
40 depends on SFC
41 default y
42 ---help---
43 This enables support for tracing of MCDI (Management-Controller-to-
44 Driver-Interface) commands and responses, allowing debugging of
Edward Creee7fef9b2015-05-27 13:14:01 +010045 driver/firmware interaction. The tracing is actually enabled by
46 a sysfs file 'mcdi_logging' under the PCI device.