]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: Export board temperature using hwmon-sysfs interface.
authorVenkata Duvvuru <VenkatKumar.Duvvuru@Emulex.Com>
Wed, 13 May 2015 07:30:12 +0000 (13:00 +0530)
committerManjunath Govindashetty <manjunath.govindashetty@oracle.com>
Fri, 16 Oct 2015 00:07:53 +0000 (17:07 -0700)
commit24610508043ff82bd3240b68d57f4bd7f04d0346
tree90386b14525babd443c0dc8396f75500baa6b50e
parentb99aadbb8a10d6cbc2e804084683f127a3183569
be2net: Export board temperature using hwmon-sysfs interface.

Ethtool statistics is not the right place to display board temperature.
This patch adds support to export die temperature of devices supported
by be2net driver via the sysfs hwmon interface.

Signed-off-by: Venkat Duvvuru <VenkatKumar.Duvvuru@Emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_ethtool.c
drivers/net/ethernet/emulex/benet/be_main.c