2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Add the detection of Intel AMB FB-DIMM thermal sensor.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4261 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Rudolf Marek
2006-12-10 20:55:06 +00:00
parent b262873b20
commit 37fa5a4151

View File

@@ -1924,6 +1924,11 @@ $chip_kern26_w83791d = {
driver => "coretemp",
detect => sub { coretemp_detect(); },
},
{
name => "Intel AMB FB-DIMM thermal sensor",
driver => "to-be-written",
detect => sub { intel_amb_detect(); },
},
);
#######################
@@ -5262,6 +5267,13 @@ sub k8temp_pci_detect
return 9;
}
# Returns: undef if not detected, (9) if detected.
sub intel_amb_detect
{
return unless exists $pci_list{'8086:a620'};
return 9;
}
# Returns: undef if not detected, (9) if detected.
sub coretemp_detect
{
@@ -5615,8 +5627,8 @@ sub main
}
print "\n";
print "Some CPU may also contain embedded sensors.\n";
print "Do you want to scan for CPU embedded sensors? (YES/no): ";
print "Some CPUs or memory controllers may also contain embedded sensors.\n";
print "Do you want to scan for them? (YES/no): ";
unless (<STDIN> =~ /^\s*n/i) {
foreach my $entry (@cpu_ids) {
scan_cpu($entry);