mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
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:
1 parent
415baecb82
commit
abd871b11f
2 files changed
+4
-1
No files matched your search
+3
-1
@@ -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 },
|
||||
|
||||
@@ -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>)
|
||||
|
||||
Reference in new issue
Block a user