Changeset 773

Show
Ignore:
Timestamp:
03/15/00 00:55:39 (9 years ago)
Author:
frodo
Message:

Steve Beer's sensors-detect fixes for i2c-i801, with a twist

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/prog/detect/sensors-detect

    r743 r773  
    6363       procid => "Intel 82801AA ICH", 
    6464       driver => "i2c-i801", 
    65        match => sub { $_[0] =~ /^SMBus i801AA adapter at [0-9,a-f]{4}/ }, 
     65       match => sub { $_[0] =~ /^SMBus I801 adapter at [0-9,a-f]{4}/ }, 
    6666     } ,  
    6767     {  
     
    652652  while (<INPUTFILE>) { 
    653653    my $record = {}; 
    654     if (($record->{bus},$record->{slot},$record->{func}) =  
     654    if (($record->{bus}+0,$record->{slot}+0,$record->{func}+0) =  
    655655        /^\s*Bus\s*(\S)+\s*,\s*device\s*(\S+)\s*,\s*function\s*(\S+)\s*:\s*$/) { 
    656656      my $desc = <INPUTFILE>; 
     657      $_ = <INPUTFILE>; 
    657658      unless (($desc =~ /Unknown device/) and 
    658659              (($record->{vendid},$record->{devid}) =