From 739d25f48c9e78b81c3c691fbd30179a72ece9b7 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 14 Sep 2009 10:50:45 +0000 Subject: [PATCH] Drop AMD K10 detection (unreliable sensors). Add detection for AMD Family 11h thermal sensors. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5769 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 2 ++ prog/detect/sensors-detect | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 489aeb82..3d6f7842 100644 --- a/CHANGES +++ b/CHANGES @@ -13,6 +13,8 @@ SVN-HEAD The SMSC LPC47M233 isn't currently supported Support upcoming sysfs path to i2c adapters Rename the modprobe configuration file to lm_sensors.conf + Drop AMD K10 detection (unreliable sensors) + Add detection for AMD Family 11h thermal sensors sysconfig-lm_sensors-convert: Fix exit code 3.1.1 (2009-06-21) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 9c907ee2..345b6eee 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1843,9 +1843,9 @@ use vars qw(@cpu_ids); driver => "k8temp", detect => \&k8temp_pci_detect, }, { - name => "AMD K10 thermal sensors", + name => "AMD Family 11h thermal sensors", driver => "to-be-written", - detect => \&k10temp_pci_detect, + detect => \&fam11h_pci_detect, }, { name => "Intel Core family thermal sensor", driver => "coretemp", @@ -5250,9 +5250,9 @@ sub k8temp_pci_detect return 9; } -sub k10temp_pci_detect +sub fam11h_pci_detect { - return unless exists $pci_list{'1022:1203'}; + return unless exists $pci_list{'1022:1303'}; return 9; }