summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2006-07-29 16:05:13 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2006-07-29 16:05:13 +0000
commit4690573973af7dabffdf74647e20cacffae02516 (patch)
tree89a0b62aeb3c72a3c6a75d93b5164042bf97e151
parent3dd48364e0ef88416bf5376e31f2e4fd65c75e92 (diff)
downloadlm-sensors-4690573973af7dabffdf74647e20cacffae02516.tar.gz
sensors-detect: Do not scan i2c-isa as if it were a regular i2c bus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4078 7894878c-1315-0410-8ee3-d5d059ff63e0
-rwxr-xr-xprog/detect/sensors-detect2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 8d7cf1ca..587107d7 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -5465,7 +5465,7 @@ sub main
local $_;
while (<INPUTFILE>) {
my ($dev_nr, $type, $adap) = /^i2c-(\d+)\s+(\S+)\s+(.*?) *(\t|$)/;
- next if ($type eq "dummy");
+ next if ($type eq "dummy" || $type eq "isa");
print "\n";
print "Next adapter: $adap\n";
print "Do you want to scan it? (YES/no/selectively): ";