From 286ac67733073ae99c9f3fb6b7a43c121b77cce2 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Wed, 23 Aug 2006 18:19:58 +0000 Subject: [PATCH] Adjust the user interaction messages (ISA bus versus ISA ports, remove word I2C from chip drivers comment) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4107 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 775f04b5..9e3711ce 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -5227,7 +5227,7 @@ sub generate_modprobes } # Now determine the chip probe lines - $modprobes .= "# I2C chip drivers\n"; + $modprobes .= "# Chip drivers\n"; foreach $chip (@chips_detected) { next if not @{$chip->{detected}}; if ($chip->{driver} eq "to-be-written") { @@ -5430,13 +5430,14 @@ sub main \@not_to_scan unless $inp =~ /^\s*[Nn]/; } - print "\nSome chips are also accessible through the ISA bus. ISA probes are\n". + print "\nSome chips are also accessible through the ISA I/O ports. ISA probes are\n". "typically a bit more dangerous, as we have to write to I/O ports to do\n". - "this. This is usually safe though.\n\n"; + "this. This is usually safe though.\n". + "Yes, you do have ISA I/O ports even if you do not have any ISA slots!\n\n"; if ($> != 0) { print "As you are not root, we shall skip this step.\n"; } else { - print "Do you want to scan the ISA bus? (YES/no): "; + print "Do you want to scan the ISA I/O ports? (YES/no): "; unless ( =~ /^\s*n/i) { initialize_ioports(); scan_isa_bus();