Changeset 4261

Show
Ignore:
Timestamp:
12/10/06 21:55:06 (6 years ago)
Author:
ruik
Message:

Add the detection of Intel AMB FB-DIMM thermal sensor.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/sensors-detect

    r4260 r4261  
    19251925    detect => sub { coretemp_detect(); }, 
    19261926  }, 
     1927  { 
     1928    name => "Intel AMB FB-DIMM thermal sensor", 
     1929    driver => "to-be-written", 
     1930    detect => sub { intel_amb_detect(); }, 
     1931  }, 
    19271932); 
    19281933 
     
    52605265{ 
    52615266        return unless exists $pci_list{'1022:1103'}; 
     5267        return 9; 
     5268} 
     5269 
     5270# Returns: undef if not detected, (9) if detected. 
     5271sub intel_amb_detect 
     5272{ 
     5273        return unless exists $pci_list{'8086:a620'}; 
    52625274        return 9; 
    52635275} 
     
    56165628  print "\n"; 
    56175629 
    5618   print "Some CPU may also contain embedded sensors.\n"; 
    5619   print "Do you want to scan for CPU embedded sensors? (YES/no): "; 
     5630  print "Some CPUs or memory controllers may also contain embedded sensors.\n"; 
     5631  print "Do you want to scan for them? (YES/no): "; 
    56205632  unless (<STDIN> =~ /^\s*n/i) { 
    56215633    foreach my $entry (@cpu_ids) {