From d71110b4ad45d450dff6c962174212563d991e03 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sun, 11 Feb 2001 19:54:23 +0000 Subject: [PATCH] change mtp008 entries from fan[1-3]_limit to fan[1-3]_min to be identical to other drivers. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1025 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 3 ++- lib/chips.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 108378e6..b604586e 100644 --- a/CHANGES +++ b/CHANGES @@ -29,7 +29,7 @@ ask CVS about it: File sensors.c: Add xxx_init() calls for drivers added to mkpatch in 2.5.5. Include file i2c-isa.h: No longer required, moved to i2c.h in i2c package Include file sensors.h: Most contents moved to i2c-proc.h in i2c package - Library: Fix some lm87 entries + Library: Fix/standardize some lm87 and mtp008 entries Chip Modules (all ISA): Remove #include "i2c-isa.h" Module i2c-i801: Chip detection cleanup Module lm78: Recognize chipid=0x20 @@ -38,6 +38,7 @@ ask CVS about it: Module sensors: Disabled, moved to i2c package as i2c-proc.c Module via686a: Allow force=9191,address (for A7V/K7V boards) Program mkpatch.pl: Fix adm9240 typos, add more chips to Configure.help + Program sensord: Add -d (debug) and -p (pid-file) options Program sensors: Change reported version from 1.3 to the lm_sensors version. Program sensors-detect: Recognize lm78 with chipid=0x20 Program sensors-detect: Recognize SMSC Victory66 South Bridge diff --git a/lib/chips.c b/lib/chips.c index ef88ad7b..de1aa5cf 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -1955,13 +1955,13 @@ static sensors_chip_feature mtp008_features[] = SENSORS_MODE_R, MTP008_SYSCTL_FAN2, VALUE(2), 0 }, { SENSORS_MTP008_FAN3, "fan3", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING, SENSORS_MODE_R, MTP008_SYSCTL_FAN3, VALUE(2), 0 }, - { SENSORS_MTP008_FAN1_MIN, "fan1_limit", SENSORS_MTP008_FAN1, + { SENSORS_MTP008_FAN1_MIN, "fan1_min", SENSORS_MTP008_FAN1, SENSORS_MTP008_FAN1, SENSORS_MODE_RW, MTP008_SYSCTL_FAN1, VALUE(1), 0 }, - { SENSORS_MTP008_FAN2_MIN, "fan2_limit", SENSORS_MTP008_FAN2, + { SENSORS_MTP008_FAN2_MIN, "fan2_min", SENSORS_MTP008_FAN2, SENSORS_MTP008_FAN2, SENSORS_MODE_RW, MTP008_SYSCTL_FAN2, VALUE(1), 0 }, - { SENSORS_MTP008_FAN3_MIN, "fan3_limit", SENSORS_MTP008_FAN3, + { SENSORS_MTP008_FAN3_MIN, "fan3_min", SENSORS_MTP008_FAN3, SENSORS_MTP008_FAN3, SENSORS_MODE_RW, MTP008_SYSCTL_FAN3, VALUE(1), 0 }, { SENSORS_MTP008_TEMP1, "temp1", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,