2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-03 15:55:15 +00:00

Revert change 2731, the hint given to the user triggers too often and

is thus misleading.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4130 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2006-09-01 20:52:58 +00:00
parent 2668fbb56e
commit c6b594f669

View File

@@ -5092,9 +5092,7 @@ sub print_chips_report
printf "ISA bus address 0x%04x (Busdriver `i2c-isa')\n",
$data->{isa_addr};
} else {
print "ISA bus, undetermined address (Busdriver `i2c-isa')\n".
" Hint: Try forcing the chip address. Consult the documentation\n".
" of particular chip for details and address value.\n";
print "ISA bus, undetermined address (Busdriver `i2c-isa')\n";
}
}
printf " Chip `%s' (confidence: %d)\n",
@@ -5210,11 +5208,11 @@ sub generate_modprobes
close INPUTFILE;
#check return value from modprobe in case modprobe -l isn't supported
if((($? >> 8) == 0) && ! $modulefound) {
$modprobes .= "# Warning: the required module $chip->{driver} is not currently installed on\n".
"# your system. For status of 2.6 kernel ports see\n".
$modprobes .= "# Warning: the required module $chip->{driver} is not currently installed\n".
"# on your system. For status of 2.6 kernel ports see\n".
"# http://www.lm-sensors.org/wiki/SupportedDevices and\n".
"# http://www.lm-sensors.org/wiki/SupportedDevices. If driver is built\n".
"# into the kernel, or unavailable, comment out the following line.\n";
"# http://www.lm-sensors.org/wiki/NewDrivers. If driver is built\n".
"# into the kernel, or unavailable, comment out the following line.\n";
}
$modprobes .= "modprobe $chip->{driver}\n";
}