2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

sensors-detect: Add AMD K8 thermal sensors detection.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4106 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2006-08-23 18:14:09 +00:00
parent 62365c568b
commit 751f337660
2 changed files with 14 additions and 0 deletions

View File

@@ -1586,6 +1586,12 @@ use vars qw(@pci_adapters_sis5595 @pci_adapters_sis645 @pci_adapters_sis96x);
i2c_addrs => [0x2f],
i2c_detect => sub { fintek_detect(7, @_); },
},
{
name => "AMD K8 thermal sensors",
driver => "k8temp",
isa_addrs => [ 0 ],
isa_detect => sub { k8temp_pci_detect(); },
},
{
name => "Philips Semiconductors SAA1064",
driver => "saa1064",
@@ -5082,6 +5088,13 @@ sub vt1211_alias_detect
return 1;
}
# Returns: undef if not detected, (9) if detected.
sub k8temp_pci_detect
{
return unless exists $pci_list{'1022:1103'};
return 9;
}
################
# MAIN PROGRAM #