aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_hw.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2012-12-04 01:03:14 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-12-07 00:38:38 -0500
commitcb6d0f5eef58cfa1a78ebcfebd3d630c31061f79 (patch)
tree6bc368de2ef7e1e11dec8af75f2efb2fb4e3d4df /drivers/net/ethernet/intel/igb/e1000_hw.h
parentf8ebc68373a891310fe64726940e245cf307d172 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_hw.h')
0 files changed, 0 insertions, 0 deletions