2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 13:57:41 +00:00

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
This commit is contained in:
Jean Delvare
2009-09-14 10:50:45 +00:00
parent bff5a8dde0
commit 739d25f48c
2 changed files with 6 additions and 4 deletions

View File

@@ -13,6 +13,8 @@ SVN-HEAD
The SMSC LPC47M233 isn't currently supported The SMSC LPC47M233 isn't currently supported
Support upcoming sysfs path to i2c adapters Support upcoming sysfs path to i2c adapters
Rename the modprobe configuration file to lm_sensors.conf 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 sysconfig-lm_sensors-convert: Fix exit code
3.1.1 (2009-06-21) 3.1.1 (2009-06-21)

View File

@@ -1843,9 +1843,9 @@ use vars qw(@cpu_ids);
driver => "k8temp", driver => "k8temp",
detect => \&k8temp_pci_detect, detect => \&k8temp_pci_detect,
}, { }, {
name => "AMD K10 thermal sensors", name => "AMD Family 11h thermal sensors",
driver => "to-be-written", driver => "to-be-written",
detect => \&k10temp_pci_detect, detect => \&fam11h_pci_detect,
}, { }, {
name => "Intel Core family thermal sensor", name => "Intel Core family thermal sensor",
driver => "coretemp", driver => "coretemp",
@@ -5250,9 +5250,9 @@ sub k8temp_pci_detect
return 9; 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; return 9;
} }