From e68975222892fb43c57a8fed4168df63c67d4c01 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 10 Aug 2007 17:33:43 +0000 Subject: [PATCH] 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/branches/lm-sensors-3.0.0@4650 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 1 + 1 file changed, 1 insertion(+) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 0a0c15a7..eb992244 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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; }