]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2015 16:21:41 +0000 (12:21 -0400)
commitd6e8501e4200b477b5cd9420f9b610f0254f18c2
tree3f2f0ef07eba16cfcbf93ab83c3a0220286b79fb
parent56c0f673fa6a46458e0f994c08a0267518903a3b
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