mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00

The SFC9000-family controllers have firmware to manage all board peripherals including temperature, heat sink continuity and voltage sensors. The firmware reports sensor alarms, which we log, and will shut down the board if necessary. Some users may want to monitor their boards more closely, so add an hwmon driver that exposes all sensors reported by the firmware. Move efx_mcdi_sensor_event() into the new file so it can share the array of sensor labels with the hwmon driver. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
28 lines
870 B
Text
28 lines
870 B
Text
config SFC
|
|
tristate "Solarflare SFC4000/SFC9000-family support"
|
|
depends on PCI && INET
|
|
select MDIO
|
|
select CRC32
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
---help---
|
|
This driver supports 10-gigabit Ethernet cards based on
|
|
the Solarflare SFC4000 and SFC9000-family controllers.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called sfc.
|
|
config SFC_MTD
|
|
bool "Solarflare SFC4000/SFC9000-family MTD support"
|
|
depends on SFC && MTD && !(SFC=y && MTD=m)
|
|
default y
|
|
---help---
|
|
This exposes the on-board flash memory as MTD devices (e.g.
|
|
/dev/mtd1). This makes it possible to upload new firmware
|
|
to the NIC.
|
|
config SFC_MCDI_MON
|
|
bool "Solarflare SFC9000-family hwmon support"
|
|
depends on SFC && HWMON && !(SFC=y && HWMON=m)
|
|
default y
|
|
----help---
|
|
This exposes the on-board firmware-managed sensors as a
|
|
hardware monitor device.
|