blob: 2c032629c36929f20fe3a53866a045f202e487e5 [file] [log] [blame]
Tobias Klauserae99b632016-12-20 14:38:26 +01001#
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
Ben Hutchings8ceee662008-04-27 12:55:59 +010018config SFC
Edward Cree5a6681e2016-11-28 18:55:34 +000019 tristate "Solarflare SFC9000/SFC9100-family support"
Ben Hutchingsff33c0e2012-11-16 12:47:39 +000020 depends on PCI
Ben Hutchings68e7f452009-04-29 08:05:08 +000021 select MDIO
Ben Hutchings8ceee662008-04-27 12:55:59 +010022 select CRC32
Ben Hutchings37b5a602008-05-30 22:27:04 +010023 select I2C
24 select I2C_ALGOBIT
Nicolas Pitred1cbfd72016-11-11 00:10:07 -050025 imply PTP_1588_CLOCK
Jeff Kirsher874aeea2011-05-13 00:17:42 -070026 ---help---
Ben Hutchings9a12a302013-09-05 17:53:57 +010027 This driver supports 10/40-gigabit Ethernet cards based on
Edward Cree5a6681e2016-11-28 18:55:34 +000028 the Solarflare SFC9000-family and SFC9100-family controllers.
Ben Hutchings8ceee662008-04-27 12:55:59 +010029
30 To compile this driver as a module, choose M here. The module
31 will be called sfc.
Ben Hutchingsf4150722008-11-04 20:34:28 +000032config SFC_MTD
Edward Cree5a6681e2016-11-28 18:55:34 +000033 bool "Solarflare SFC9000/SFC9100-family MTD support"
Ben Hutchings87611692008-11-20 04:17:42 -080034 depends on SFC && MTD && !(SFC=y && MTD=m)
Ben Hutchingsf4150722008-11-04 20:34:28 +000035 default y
Jeff Kirsher874aeea2011-05-13 00:17:42 -070036 ---help---
Ben Hutchings94813b82012-01-06 22:47:17 +000037 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.
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000040config SFC_MCDI_MON
Ben Hutchings8127d662013-08-29 19:19:29 +010041 bool "Solarflare SFC9000/SFC9100-family hwmon support"
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000042 depends on SFC && HWMON && !(SFC=y && HWMON=m)
43 default y
Paul Bolle806b2132013-03-15 12:59:30 +010044 ---help---
Ben Hutchings55c5e0f82012-01-06 20:25:39 +000045 This exposes the on-board firmware-managed sensors as a
46 hardware monitor device.
Ben Hutchingscd2d5b52012-02-14 00:48:07 +000047config 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.
Edward Cree75aba2a2015-05-27 13:13:54 +010055config 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
Edward Creee7fef9b2015-05-27 13:14:01 +010062 driver/firmware interaction. The tracing is actually enabled by
63 a sysfs file 'mcdi_logging' under the PCI device.
Tobias Klauserae99b632016-12-20 14:38:26 +010064
65source "drivers/net/ethernet/sfc/falcon/Kconfig"
66
67endif # NET_VENDOR_SOLARFLARE