mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
(mds) Remove "Unwritten" on lm87 driver.
Add information message on where to download i2c-riva module if it is not found. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@883 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -421,7 +421,7 @@ use subs qw(lm78_detect lm78_isa_detect lm78_alias_detect lm75_detect
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name => "National Semiconductor LM87",
|
name => "National Semiconductor LM87",
|
||||||
driver => "Unwritten (LM87)",
|
driver => "lm87",
|
||||||
i2c_addrs => [0x2c..0x2e],
|
i2c_addrs => [0x2c..0x2e],
|
||||||
i2c_detect => sub { lm87_detect @_} ,
|
i2c_detect => sub { lm87_detect @_} ,
|
||||||
},
|
},
|
||||||
@@ -2263,6 +2263,10 @@ sub main
|
|||||||
unless (<STDIN> =~ /^\s*[Nn]/) {
|
unless (<STDIN> =~ /^\s*[Nn]/) {
|
||||||
if (system ("modprobe", $adapter)) {
|
if (system ("modprobe", $adapter)) {
|
||||||
print "Loading failed ($!)... skipping.\n";
|
print "Loading failed ($!)... skipping.\n";
|
||||||
|
if ($adapter eq "i2c-riva") {
|
||||||
|
print "** Note: i2c-riva module is available at \n";
|
||||||
|
print "** http://drama.obuda.kando.hu/~fero/cgi-bin/rivatv.shtml\n";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
print "Module loaded succesfully.\n";
|
print "Module loaded succesfully.\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user