Changeset 4649

Show
Ignore:
Timestamp:
08/10/07 18:45:21 (7 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.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4640 r4649  
    66           Speed up sensors_get_ignored() a bit 
    77  Module i2c-piix4: Add ATI SB700 support (2.6 backport) 
     8  Program sensors-detect: Don't probe i2c-isa as a regular i2c bus 
    89 
    910 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r4627 r4649  
    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;