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.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4649 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-08-10 16:45:21 +00:00
1 parent 72ffb67a83
commit 8ade2b33fc
2 files changed
+2

No files matched your search

+1
View File
@@ -2339,6 +2339,7 @@ sub initialize_i2c_adapters_list
$entry = {}; # New entry
$entry->{'name'} = sysfs_device_attribute("${class_dir}/i2c-$1", "name")
|| sysfs_device_attribute("${class_dir}/i2c-$1/device", "name");
next if $entry->{'name'} eq "ISA main adapter";
$entry->{'driver'} = find_adapter_driver($entry->{'name'});
$i2c_adapters[$1] = $entry;
}