Changeset 4650

Show
Ignore:
Timestamp:
08/10/07 19:33:43 (6 years ago)
Author:
khali
Message:

Don't probe i2c-isa as if it were a regular i2c bus. This bug was
introduced when getting rid of the i2cdetect dependency. I had
forgotten that i2c-isa was not listed in class i2c-dev but was
still listed in class i2c-adapter.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r4611 r4650  
    23402340      $entry->{'name'} = sysfs_device_attribute("${class_dir}/i2c-$1", "name") 
    23412341                      || sysfs_device_attribute("${class_dir}/i2c-$1/device", "name"); 
     2342      next if $entry->{'name'} eq "ISA main adapter"; 
    23422343      $entry->{'driver'} = find_adapter_driver($entry->{'name'}); 
    23432344      $i2c_adapters[$1] = $entry;