]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe add thermal sensor support for x540 hardware
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 20 Aug 2011 04:49:45 +0000 (04:49 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:11:49 +0000 (22:11 +0800)
commitb460c327b16e4d48759e1b090ced45e77453fc39
treee0ec2ea55a7fba5ef3d77d7a6226ab9f8692ad98
parent77841a46295947df670767c3c2a11ff34cd00700
ixgbe add thermal sensor support for x540 hardware

Add code to enable thermal sensors for the x540 hardware, as well as a
thermal interrupt check which will exit with a critical message of a
thermal overheat is detected. Intent of code allows other mac types to
be added with different configuration in the future.

Fixed in this version is the addition of setting the temp_sensor
capable flag which was previously only set for a specific mac.

(cherry picked from commit 4f51bf702395ab45aa68e6b702df2728cc7fe344)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h