android_kernel_oneplus_msm8998/drivers/net/ethernet/intel
Jacob Keller cb6d0f5eef ixgbe: check whether thermal sensor is enabled.
The X540's internal thermal sensor should not be enabled for all devices, but
only those devices which enable it in the NVM image. It is expected that
actively cooled devices will have it enabled, but passively cooled devices might
not want it enabled. This is due to passively cooled devices operating very near
the thermal threshold, sometimes within the margin of error of the thermal
sensor. Thus these devices may not be good candidates for using the thermal
sensor.

This patch uses the enabled bit in the FWSM register to check whether we should
be enabling the thermal sensor, and only sets the THERMAL_SENSOR_CAPABLE flag
for those devices which have it enabled.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-12-06 21:38:38 -08:00
..
e1000 net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
e1000e net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
igb net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
igbvf net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
ixgb net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
ixgbe ixgbe: check whether thermal sensor is enabled. 2012-12-06 21:38:38 -08:00
ixgbevf net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
e100.c net/intel: remove __dev* attributes 2012-12-03 11:17:07 -08:00
Kconfig net: Remove bogus dependencies on INET 2012-11-19 19:13:59 -05:00
Makefile