summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2015-01-26 09:27:46 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2015-01-26 09:27:46 +0000
commita137738f2012a4028d948c5134fcdbb43e0f6391 (patch)
treef2c853c24d22458de405d4a9de17c4d1b91e482a
parent645c8e583074142b899e8ac254cdcef1856f172d (diff)
downloadlm-sensors-a137738f2012a4028d948c5134fcdbb43e0f6391.tar.gz
Add detection of Intel 5500/5520/X58
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6266 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r--CHANGES1
-rwxr-xr-xprog/detect/sensors-detect10
2 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 128699b6..ed95b66f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -29,6 +29,7 @@ SVN HEAD
Add detection of IT8786E
Add detection of IT8780F
Add detection of IT8731F and IT8732F
+ Add detection of Intel 5500/5520/X58
3.3.5 "Happy Birthday Beddy" (2014-01-22)
libsensors: Improve documentation of two functions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 6fb92187..bf0822d4 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -2528,6 +2528,10 @@ use vars qw(@cpu_ids);
driver => "i5k_amb",
detect => \&intel_amb_detect,
}, {
+ name => "Intel 5500/5520/X58 thermal sensor",
+ driver => "i5500_temp",
+ detect => \&intel_5500_detect,
+ }, {
name => "VIA C7 thermal sensor",
driver => "via-cputemp",
detect => \&via_c7_detect,
@@ -6738,6 +6742,12 @@ sub intel_amb_detect
return;
}
+sub intel_5500_detect
+{
+ return unless exists $pci_list{'8086:3438'};
+ return 5;
+}
+
sub cpuid
{
my ($cpu_nr, $eax) = @_;