From 7aa5cb5871ddf096fda807ede79fdaa57366ec7c Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 22 Oct 2008 12:50:32 +0000 Subject: [PATCH] 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 --- CHANGES | 1 + prog/detect/sensors-detect | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index daba7d2f..a11a9ee1 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ SVN-HEAD maxilife scripts: Delete (driver never ported to Linux 2.6) sensors-detect: Fix detection of ADT7463 and LM96000 Add VIA VX800/VX820 support + Fix detection of Intel 5000 series FB-DIMM AMB 3.0.3 (2008-09-28) libsensors: Avoid namespace pollution diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index a9da199f..d337c2be 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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;