2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

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
This commit is contained in:
Rudolf Marek
2006-08-23 18:19:58 +00:00
parent 751f337660
commit 286ac67733

View File

@@ -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 (<STDIN> =~ /^\s*n/i) {
initialize_ioports();
scan_isa_bus();