Changeset 4106

Show
Ignore:
Timestamp:
08/23/06 20:14:09 (7 years ago)
Author:
khali
Message:

sensors-detect: Add AMD K8 thermal sensors detection.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4105 r4106  
    6767                          Check i2c adapter functionalities before probing 
    6868                          Add Intel ICH8 SMBus detection 
     69                          Add AMD K8 thermal sensors detection 
    6970 
    7071 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r4104 r4106  
    15861586       i2c_addrs => [0x2f], 
    15871587       i2c_detect => sub { fintek_detect(7, @_); }, 
     1588     }, 
     1589     { 
     1590       name => "AMD K8 thermal sensors", 
     1591       driver => "k8temp", 
     1592       isa_addrs => [ 0 ], 
     1593       isa_detect => sub { k8temp_pci_detect(); }, 
    15881594     }, 
    15891595     { 
     
    50835089} 
    50845090 
     5091# Returns: undef if not detected, (9) if detected. 
     5092sub k8temp_pci_detect 
     5093{ 
     5094        return unless exists $pci_list{'1022:1103'}; 
     5095        return 9; 
     5096} 
     5097 
    50855098 
    50865099################