From b1f021946242b1a99b36a94a5c29ddad83048820 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 14 Sep 2009 10:49:57 +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/branches/lm-sensors-2.10@5768 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 33a6ebc9..c4118f12 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,8 @@ SVN-HEAD Program sensors: Fix a memory leak when a chip name is provided Program sensors-detect: Fix detection of older DS1621 Rename the modprobe config file to lm_sensors.conf + Drop AMD K10 detection (unreliable sensors) + Add detection for AMD Family 11h thermal sensors 2.10.8 (20081216) File doc/chips/lm90: Update datasheet links (2.6 backport) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index eff180f0..eafcb48e 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -2080,9 +2080,9 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids detect => sub { k8temp_pci_detect(); }, }, { - name => "AMD K10 thermal sensors", + name => "AMD Family 11h thermal sensors", driver => "to-be-written", - detect => sub { k10temp_pci_detect(); }, + detect => sub { fam11h_pci_detect(); }, }, { name => "Intel Core family thermal sensor", @@ -5518,9 +5518,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; }