sfc: Add support for new board sensors
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Nov 2012 23:11:18 +0000 (23:11 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 29 Aug 2013 17:11:58 +0000 (18:11 +0100)
Add support for power and current sensors, which need to be named
differently in sysfs.  Power sensors also require values to be scaled
between MCDI and sysfs, and have no minimum value.

Add definitions of the power, current, fan, and additional temperature
and voltage sensors found on SFA6902F, SFN7022F and SFN7122F.

(Includes a bug fix from Andrew Jackson.)

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/mcdi_mon.c

Simple merge