From 0e97b890040da8f68e6d002bdf133efc26741921 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 22 Oct 2008 12:55:02 +0000 Subject: [PATCH] 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 --- CHANGES | 1 + prog/detect/sensors-detect | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 884de9db..26d685be 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 2671f8e9..74c7226e 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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;