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)
commit29e9122b3ab2aa7160e54c2bbea242b99588325c
tree3f2f0ef07eba16cfcbf93ab83c3a0220286b79fb
parent5a99e7f22b0d0f8ba65b7fb19ad3511e2497356c
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