2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-29 13:28:01 +00:00

Fix detection of Intel 5000 series FB-DIMM AMB.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5366 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare 2008-10-22 12:50:32 +00:00
parent e42b57bf03
commit 7aa5cb5871
2 changed files with 4 additions and 5 deletions

View File

@ -5,6 +5,7 @@ SVN-HEAD
maxilife scripts: Delete (driver never ported to Linux 2.6) maxilife scripts: Delete (driver never ported to Linux 2.6)
sensors-detect: Fix detection of ADT7463 and LM96000 sensors-detect: Fix detection of ADT7463 and LM96000
Add VIA VX800/VX820 support Add VIA VX800/VX820 support
Fix detection of Intel 5000 series FB-DIMM AMB
3.0.3 (2008-09-28) 3.0.3 (2008-09-28)
libsensors: Avoid namespace pollution libsensors: Avoid namespace pollution

View File

@ -2153,7 +2153,7 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids
}, },
{ {
name => "Intel AMB FB-DIMM thermal sensor", name => "Intel AMB FB-DIMM thermal sensor",
driver => "to-be-written", driver => "i5k_amb",
detect => sub { intel_amb_detect(); }, detect => sub { intel_amb_detect(); },
}, },
{ {
@ -5651,12 +5651,10 @@ sub k10temp_pci_detect
} }
# Returns: undef if not detected, (9) if detected. # Returns: undef if not detected, (9) if detected.
# the device 0xa620 should not be visible on host PCI bus, gateway
# must be used
sub intel_amb_detect sub intel_amb_detect
{ {
if ((exists $pci_list{'8086:a620'}) || if ((exists $pci_list{'8086:25f0'}) || # Intel 5000
(exists $pci_list{'8086:25f0'})) { (exists $pci_list{'8086:4030'})) { # Intel 5400
return 9; return 9;
} }
return; return;