diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2006-07-29 16:05:13 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2006-07-29 16:05:13 +0000 |
commit | 4690573973af7dabffdf74647e20cacffae02516 (patch) | |
tree | 89a0b62aeb3c72a3c6a75d93b5164042bf97e151 | |
parent | 3dd48364e0ef88416bf5376e31f2e4fd65c75e92 (diff) | |
download | lm-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-x | prog/detect/sensors-detect | 2 |
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): "; |