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