ADM1021 documentation

The old documentation of Phil is still present at the bottom of the file.
Phil may decide to remove it.

In the driver, file 'status' is renamed to 'alarms' and masked to display
only the alarm bits. This fits more closely with other drivers, and the
remaining bit was not interesting anyway.

I fixed a problem that made insertion of the module impossible (I made a
typo when I introduced the insmod parameters) *** Someone else seems to
have changed this at almost the same moment?!? Now it is correct. ***

The MAX1617 and MAX1617A are now also supported by the library.

Once more, some slight formatting changes are made in the documentation
generators (some columns were made wider).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@395 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-04-15 22:19:59 +00:00
1 parent a2a75fc49e
commit db7cba03ca
7 files changed
+276 -25

No files matched your search

+6 -5
View File
@@ -232,7 +232,8 @@ sub output_data
my ($feature,$data,$read_write);
$feature = $features{$index};
printf "Chip `%s'\n",$feature->{prefix};
print " LABEL LABEL CLASS COMPUTE CLASS ACCESS MAGNITUDE\n";
print " LABEL LABEL CLASS COMPUTE CLASS ACCESS ".
"MAGNITUDE\n";
foreach $data (@{$feature->{features}}) {
$read_write = $data->{mode_read} + 2 * $data->{mode_write};
if ($read_write == 0) {
@@ -244,16 +245,16 @@ sub output_data
} else {
$read_write = "RW";
}
printf "%15s %15s %15s %2s %2s\n",
printf "%18s %18s %18s %2s %2s\n",
$data->{name}, $feature_name{$data->{logical_mapping}},
$feature_name{$data->{compute_mapping}},
$read_write,$data->{magnitude};
}
print "\n";
print " LABEL FEATURE SYMBOL ".
"SYSCTL FILE:OFFSET\n";
print " LABEL FEATURE SYMBOL ".
" SYSCTL FILE:NR\n";
foreach $data (@{$feature->{features}}) {
printf "%15s %40s %15s:%1d\n",$data->{name}, $data->{number},
printf "%18s %39s %18s:%1d\n",$data->{name}, $data->{number},
$sysctls{$data->{sysctl}}, $data->{offset}, $data->{magnitude};
}
}
+1 -1
View File
@@ -51,7 +51,7 @@ sub print_info
{
my ($modname) = @_;
my (@lines,$line,$option,$type,$desc);
print "Author: ", wrap("Author: "," ",`modinfo -a $modname`), "\n\n";
print wrap("Author: "," ",`modinfo -a $modname`), "\n\n";
print "Module Parameters\n";
print "-----------------\n";
print "\n";