Make doc-feature work with bmcsensors (workaround)

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1613 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2002-11-16 19:08:55 +00:00
1 parent 415baecb82
commit abd871b11f
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -3295,7 +3295,8 @@ static sensors_chip_feature bmc_features[] =
{ SENSORS_BMC_TEMP1_MAX+2, "temp3_max", SENSORS_BMC_TEMP1+2,
SENSORS_BMC_TEMP1+2, SENSORS_MODE_RW,
BMC_SYSCTL_TEMP1+2, VALUE(1), 0 },
{ SENSORS_BMC_TEMP1+3, "temp4", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING, /* scalings from here down */
/* scalings from here down */
{ SENSORS_BMC_TEMP1+3, "temp4", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
SENSORS_MODE_R, BMC_SYSCTL_TEMP1+3, VALUE(3), 1 },
{ SENSORS_BMC_TEMP1_MIN+3, "temp4_min", SENSORS_BMC_TEMP1+3,
SENSORS_BMC_TEMP1+3, SENSORS_MODE_RW,
@@ -3331,6 +3332,7 @@ static sensors_chip_feature bmc_features[] =
SENSORS_MODE_R, BMC_SYSCTL_ALARMS, VALUE(1), 0 },
{ 0 }
};
sensors_chip_features sensors_chip_features_list[] =
{
{ SENSORS_LM78_PREFIX, lm78_features },
+1
View File
@@ -140,6 +140,7 @@ sub scan_kernel_chip
while ($line = <INPUTFILE>)
{
next unless $line =~ m/^\s*static\s+ctl_table/;
last if $line =~ m/;/; # Skip dynamic ctl_table
my @tokens = tokenize($line);
while ($line = <INPUTFILE>)