mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-17 19:30:26 +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:
1 parent
b262873b20
commit
37fa5a4151
1 file changed
+14
-2
@@ -1924,6 +1924,11 @@ $chip_kern26_w83791d = {
|
|||||||
driver => "coretemp",
|
driver => "coretemp",
|
||||||
detect => sub { coretemp_detect(); },
|
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;
|
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.
|
# Returns: undef if not detected, (9) if detected.
|
||||||
sub coretemp_detect
|
sub coretemp_detect
|
||||||
{
|
{
|
||||||
@@ -5615,8 +5627,8 @@ sub main
|
|||||||
}
|
}
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
print "Some CPU may also contain embedded sensors.\n";
|
print "Some CPUs or memory controllers may also contain embedded sensors.\n";
|
||||||
print "Do you want to scan for CPU embedded sensors? (YES/no): ";
|
print "Do you want to scan for them? (YES/no): ";
|
||||||
unless (<STDIN> =~ /^\s*n/i) {
|
unless (<STDIN> =~ /^\s*n/i) {
|
||||||
foreach my $entry (@cpu_ids) {
|
foreach my $entry (@cpu_ids) {
|
||||||
scan_cpu($entry);
|
scan_cpu($entry);
|
||||||
|
|||||||
Reference in new issue
Block a user