Changeset 4090

Show
Ignore:
Timestamp:
08/11/06 09:34:32 (7 years ago)
Author:
khali
Message:

i2c-isa will soon be gone.

Files:
1 modified

Legend:

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

    r4086 r4090  
    51695169  while (<INPUTFILE>) { 
    51705170    my ($dev_nr, $type, $adap) = /^i2c-(\d+)\s+(\S+)\s+(.*?) *(\t|$)/; 
    5171     next if ($type eq "dummy"); 
     5171    next if ($type eq "dummy" || $type eq "isa"); 
    51725172    $adapters[$dev_nr]->{driver} = find_adapter_driver($adap); 
    51735173    $adapters[$dev_nr]->{adapname} = $adap; 
     
    52175217    } 
    52185218  } 
    5219   $modprobes .= "modprobe i2c-isa\n" if ($isa); 
     5219  # i2c-isa is loaded automatically (as a dependency) since 2.6.14, 
     5220  # and will soon be gone. 
     5221  $modprobes .= "modprobe i2c-isa\n" if ($isa && !kernel_version_at_least(2, 6, 18)); 
    52205222  if ($bmcsensors) { 
    52215223    $modprobes .= "# You must also install and load the IPMI modules\n";