2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 13:57:41 +00:00

Stop mentioning the alias trick for i2c-dev, it no longer works and it

doesn't have anything to do with sensors anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4777 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare 2007-09-05 16:45:19 +00:00
parent 65b9d4dd92
commit ff8230310b

View File

@ -5449,11 +5449,7 @@ sub generate_modprobes
my ($chip,$detection,$nr,$i,@optionlist,@probelist,$driver,$isa,$adap);
my $ipmi = 0;
my $modprobes = "";
my $configfile = "";
# These are always needed
$configfile .= "# I2C module options\n";
$configfile .= "alias char-major-89 i2c-dev\n";
my $configfile;
# Collect all adapters used
$nr = 0;
@ -5564,6 +5560,7 @@ sub generate_modprobes
}
next if not (@probelist or @optionlist);
$configfile = "# hwmon module options\n" unless defined $configfile;
$configfile .= "options $chip->{driver}";
$configfile .= sprintf " ignore=%d,0x%02x",shift @optionlist,
shift @optionlist
@ -5776,11 +5773,13 @@ sub main
print "\n";
my ($modprobes, $configfile) = generate_modprobes 1; # 1 == prefer ISA
if (defined $configfile) {
print "To make the sensors modules behave correctly, add these lines to\n".
"$modules_conf:\n\n";
print "#----cut here----\n".
$configfile.
"#----cut here----\n\n";
}
print "To load everything that is needed, add this to some /etc/rc* file:\n\n";
print "#----cut here----\n".