mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
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
This commit is contained in:
@@ -5465,7 +5465,7 @@ sub main
|
|||||||
local $_;
|
local $_;
|
||||||
while (<INPUTFILE>) {
|
while (<INPUTFILE>) {
|
||||||
my ($dev_nr, $type, $adap) = /^i2c-(\d+)\s+(\S+)\s+(.*?) *(\t|$)/;
|
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 "\n";
|
||||||
print "Next adapter: $adap\n";
|
print "Next adapter: $adap\n";
|
||||||
print "Do you want to scan it? (YES/no/selectively): ";
|
print "Do you want to scan it? (YES/no/selectively): ";
|
||||||
|
Reference in New Issue
Block a user