mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-21 11:39:31 +00:00
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:
1 parent
72ffb67a83
commit
8ade2b33fc
2 files changed
+2
No files matched your search
@@ -5,6 +5,7 @@ SVN HEAD
|
||||
Library: Fix a memory leak on error
|
||||
Speed up sensors_get_ignored() a bit
|
||||
Module i2c-piix4: Add ATI SB700 support (2.6 backport)
|
||||
Program sensors-detect: Don't probe i2c-isa as a regular i2c bus
|
||||
|
||||
|
||||
2.10.4 (20070716)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user