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

Add detection of AMD K10 CPU sensor.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4925 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Rudolf Marek 2007-10-07 18:31:16 +00:00
parent 65de3bd8eb
commit f387f95bae
2 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,7 @@ SVN
Better handling of the fault flags
sensors-conf-convert: Add a short help text
sensors-detect: Fix SMSC SCH311x detection
Add AMD K10 CPU sensor detection
3.0.0-rc1 (2007-09-25)
Initial release

View File

@ -2082,6 +2082,11 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids);
driver => "k8temp",
detect => sub { k8temp_pci_detect(); },
},
{
name => "AMD K10 thermal sensors",
driver => "to-be-written",
detect => sub { k10temp_pci_detect(); },
},
{
name => "Intel Core family thermal sensor",
driver => "coretemp",
@ -5357,6 +5362,12 @@ sub k8temp_pci_detect
return 9;
}
sub k10temp_pci_detect
{
return unless exists $pci_list{'1022:1203'};
return 9;
}
# Returns: undef if not detected, (9) if detected.
# the device 0xa620 should not be visible on host PCI bus, gateway
# must be used