2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +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

@@ -2153,7 +2153,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(); },
},
{
@@ -5651,12 +5651,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;