Fix detection of Intel 5000 series FB-DIMM AMB.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5367 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-10-22 12:55:02 +00:00
1 parent 3efa6bf239
commit 0e97b89004
2 files changed
+4 -5

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ SVN-HEAD
Prevent misdetection of W83627DHG on I2C as LM78
W83627DHG has no subclients
Add VIA VX800/VX820 support
Fix detection of Intel 5000 series FB-DIMM AMB
2.10.7 (20080701)
Library: Don't choke on unrecognized devices, part 2
+3 -5
View File
@@ -2079,7 +2079,7 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids
},
{
name => "Intel AMB FB-DIMM thermal sensor",
driver => "to-be-written",
driver => "i5k_amb",
detect => sub { intel_amb_detect(); },
},
{
@@ -5513,12 +5513,10 @@ sub k10temp_pci_detect
}
# 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
{
if ((exists $pci_list{'8086:a620'}) ||
(exists $pci_list{'8086:25f0'})) {
if ((exists $pci_list{'8086:25f0'}) || # Intel 5000
(exists $pci_list{'8086:4030'})) { # Intel 5400
return 9;
}
return;