diff --git a/CHANGES b/CHANGES index f00533cb..30b9f540 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 929d81b0..c1d42133 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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