(mds) changed refresh time from 1.5 seconds to 5 minutes.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@717 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2000-01-30 01:21:49 +00:00
1 parent 8fe6d49887
commit ac7ace0484
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -68,6 +68,9 @@ example, have serial EEPROMs in them connected to the SMBus which will be
found by the module. Take care to ignore the output of decode_dimms.pl for
these EEPROMs.
The driver caches the data from the monitor and only rereads it
from the eeprom if the cache is more than 5 minutes old.
DECODE_DIMMS.PL
---------------
+1 -1
View File
@@ -319,7 +319,7 @@ void eeprom_update_client(struct i2c_client *client)
down(&data->update_lock);
if ((jiffies - data->last_updated > HZ + HZ / 2) ||
if ((jiffies - data->last_updated > 300 * HZ) |
(jiffies < data->last_updated) || !data->valid) {
#ifdef DEBUG